summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_debug.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-12-09 09:51:01 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-12-09 09:51:01 (GMT)
commit4ecc45086102807901a3bd2b9e02a169ca212716 (patch)
tree80ca036b6789c58736cfd6dc03f9c10086d5d878 /doc/src/snippets/code/doc_src_debug.cpp
parent14aea84dd16bd9778cdc5803fdfa3523d9282411 (diff)
downloadQt-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