summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-06 08:39:36 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-06 08:41:33 (GMT)
commit97581fbc6ba777936e101b6819f364c18ad4429c (patch)
tree2ac69c6f3ab58eb8e57cf1e8451bad736a4ddabb /src
parente19229a9f1f69d9f486c8adbba17a4b6ab3cb26b (diff)
downloadQt-97581fbc6ba777936e101b6819f364c18ad4429c.zip
Qt-97581fbc6ba777936e101b6819f364c18ad4429c.tar.gz
Qt-97581fbc6ba777936e101b6819f364c18ad4429c.tar.bz2
Flush XCB connection before blocking.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp
index 2a220af..674bbfd 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection.cpp
@@ -462,6 +462,8 @@ void QXcbConnection::processXcbEvents()
else
printXcbEvent("Unhandled XCB event", event);
}
+
+ xcb_flush(xcb_connection());
}
static const char * xcb_atomnames = {