diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-10 09:15:49 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-10 09:15:49 (GMT) |
commit | e279d2ae598c7b05dff843e021fc8a08199c36de (patch) | |
tree | 1e93075550a65915b2630d04e8d3940a2809e14c | |
parent | b6e74de57f6f7504148987394c311c215ec7b375 (diff) | |
download | Qt-e279d2ae598c7b05dff843e021fc8a08199c36de.zip Qt-e279d2ae598c7b05dff843e021fc8a08199c36de.tar.gz Qt-e279d2ae598c7b05dff843e021fc8a08199c36de.tar.bz2 |
Fixed 'lingering' dialog bug in XCB backend.
We need to flush the XCB command stream after unmapping a window, to
ensure it doesn't get delayed.
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index b54a233..95110e6 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -130,6 +130,8 @@ void QXcbWindow::setVisible(bool visible) xcb_map_window(xcb_connection(), m_window); else xcb_unmap_window(xcb_connection(), m_window); + + xcb_flush(xcb_connection()); } struct QtMWMHints { |