diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-08 07:46:08 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-08 07:47:48 (GMT) |
commit | 41132f22be02fe4ec73e8e3b5795bdd630344414 (patch) | |
tree | fde8029f5e923405158002643a1d9b7ca0223832 /src/plugins/platforms | |
parent | b42914ba7b2c2ec08abeb4ec658ffaea019e3e3f (diff) | |
download | Qt-41132f22be02fe4ec73e8e3b5795bdd630344414.zip Qt-41132f22be02fe4ec73e8e3b5795bdd630344414.tar.gz Qt-41132f22be02fe4ec73e8e3b5795bdd630344414.tar.bz2 |
Fixed logical error in XCB backend.
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index ad91602..107e004 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -672,7 +672,7 @@ void QXcbWindow::handleFocusOutEvent(const xcb_focus_out_event_t *) void QXcbWindow::updateSyncRequestCounter() { - if (m_screen->syncRequestSupported() && m_syncValue.lo != 0 || m_syncValue.hi != 0) { + if (m_screen->syncRequestSupported() && (m_syncValue.lo != 0 || m_syncValue.hi != 0)) { Q_XCB_CALL(xcb_sync_set_counter(xcb_connection(), m_syncCounter, m_syncValue)); xcb_flush(xcb_connection()); connection()->sync(); |