diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2010-12-09 09:51:01 (GMT) |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-12-09 09:51:01 (GMT) |
commit | 4ecc45086102807901a3bd2b9e02a169ca212716 (patch) | |
tree | 80ca036b6789c58736cfd6dc03f9c10086d5d878 /doc/src/snippets/code/doc_src_debug.cpp | |
parent | 14aea84dd16bd9778cdc5803fdfa3523d9282411 (diff) | |
download | Qt-4ecc45086102807901a3bd2b9e02a169ca212716.zip Qt-4ecc45086102807901a3bd2b9e02a169ca212716.tar.gz Qt-4ecc45086102807901a3bd2b9e02a169ca212716.tar.bz2 |
Fix a rare race condition when showing windows
When setting a window to translucent shortly before showing it with the
OpenGL graphics system, the hijacking would call XDestroyWindow without
resetting the internal state. This might lead to the window waiting for
a map notify message forever.
The patch now properly resets the internal state when destroying the old
window, so it'll get mapped correctly when show() is called.
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'doc/src/snippets/code/doc_src_debug.cpp')
0 files changed, 0 insertions, 0 deletions