diff options
author | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-07-26 11:33:33 +0200 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@qt.io> | 2018-08-01 14:57:04 +0000 |
commit | 6f87926df55edb119e5eeb53c3beac135fdf72e2 (patch) | |
tree | 7e465340d815ff1fe208b32ef7ea2e100ce526db /src/plugins/platforms/xcb/qxcbconnection.cpp | |
parent | 0dfdf23d05d09cbffcec4021c9cbebfb6eeddfa7 (diff) |
xcb: partly revert 3bc0f1724ae49c2fd7e6d7bcb650350d20d12246
After trying to fix (work around) system resize/move issues in various
ways from within the platform plugin, it has been concluded that it is a
bug at widget layer and should be fixed there instead: QTBUG-69716.
This patch reverts parts of 3bc0f1724a and disables system move / resize
on XCB plugin. Meaning, QSizeGrip will use its own implementation for
resizing a window.
Task-number: QTBUG-68501
Task-number: QTBUG-69628
Change-Id: Ib4744a93fb3e3c20f690a8f43713103856cb7d1a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.cpp')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.cpp b/src/plugins/platforms/xcb/qxcbconnection.cpp index dbc53abeca..aca2c347ea 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.cpp +++ b/src/plugins/platforms/xcb/qxcbconnection.cpp @@ -1718,8 +1718,7 @@ bool QXcbConnection::compressEvent(xcb_generic_event_t *event, int currentIndex, continue; if (isXIType(next, m_xiOpCode, XI_TouchUpdate)) { xXIDeviceEvent *xiDeviceNextEvent = reinterpret_cast<xXIDeviceEvent *>(next); - if (id == xiDeviceNextEvent->detail % INT_MAX && - xiDeviceNextEvent->deviceid == xiDeviceEvent->deviceid) + if (id == xiDeviceNextEvent->detail % INT_MAX) return true; } } |