summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-04 10:35:25 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-04 10:36:53 (GMT)
commite8d31fa99352c18d469394d65c80541b7788440c (patch)
tree5ebebf8430185491f7caa445959cf5448cfa2768 /src
parent05f2b1c912e09be9cb9f1128494d315c53698d02 (diff)
downloadQt-e8d31fa99352c18d469394d65c80541b7788440c.zip
Qt-e8d31fa99352c18d469394d65c80541b7788440c.tar.gz
Qt-e8d31fa99352c18d469394d65c80541b7788440c.tar.bz2
Process XCB events on aboutToBlock() instead of awake().
We want the XCB events to be processed right before calling select(), to make sure any remaining events in the queue are flushed.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/platforms/xcb/qxcbconnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp
index ec1fc1b..2a220af 100644
--- a/src/plugins/platforms/xcb/qxcbconnection.cpp
+++ b/src/plugins/platforms/xcb/qxcbconnection.cpp
@@ -125,7 +125,7 @@ QXcbConnection::QXcbConnection(const char *displayName)
connect(notifier, SIGNAL(activated(int)), this, SLOT(processXcbEvents()));
QAbstractEventDispatcher *dispatcher = QAbstractEventDispatcher::instance(qApp->thread());
- connect(dispatcher, SIGNAL(awake()), this, SLOT(processXcbEvents()));
+ connect(dispatcher, SIGNAL(aboutToBlock()), this, SLOT(processXcbEvents()));
}
QXcbConnection::~QXcbConnection()