After upgrading to Ubuntu 2009
Qq often exits automatically. I don't know what the problem is. As a result, I used Web QQ for a period of time.
Yesterday we found that it could be processed. Modify/usr/bin/QQ and add an environment variable.
Export gdk_native_windows = true
After modification:
# Cat/usr/bin/QQ
#! /Bin/sh
Export gdk_native_windows = true
CD/usr/share/Tencent/QQ/
./QQ
Appendix: What does gdk_native_windows mean?
Gdk has been rewritten to use 'client-side Windows'. This means that gdk
Maintains its own window hierarchy and only uses X Windows where it is
Necessary or explicitly requested. Some of the benefits of this change are
* Reduced flicker
* The ability to do transformed and animated rendering of Widgets
* Easier embedding of GTK + widgets, e.g. into clutter scene Graphs
Launching an app with gdk_native_windows = 1 Application turns off this
Feature. This is needed if the application manipulates the windows it
Creates using direct x api cils or a mixture of x api and gdk instead
Just going through gdk. When using "client-side windows" all windows
Manipulation by an application must go through gdk. Adobe needs to update
Cannot read to be compatible with this feature.