qt6-bb10/src
Gatis Paeglis e71f7d7736 xcb: fix freeze when (un)plugging input devices
.. in an application that has many native windows.

We don't need to select XI_HierarchyChangedMask and XI_DeviceChangedMask
for every window. It is enough to register one window for these events to
update state of our X11 client (application).

Furthermore, XIAllDevices and XIAllMasterDevices always apply, even if the
device has been added after the client has selected for events. So there is
no need to call XISelectEvents on XIAllDevices/XIAllMasterDevices again, if
we are not updating event masks.

With this patch and the test application from QTBUG-57013, removing/attaching
a device takes few hundred milliseconds instead of 23-24 seconds.

Task-number: QTBUG-57013
Change-Id: Ieb0b5ee25feef2922f901165825cb4a1289fc852
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2017-07-19 12:48:55 +00:00
..
3rdparty iaccessible2.pri: Fix architecture detection 2017-07-11 18:05:07 +00:00
android Android: fix missing wheel events 2017-06-18 12:59:14 +00:00
angle ANGLE: Fix flickering on resize when D3D9 is used 2017-07-03 06:41:01 +00:00
concurrent Adapt to the C++ SIC introduced by P0012: noexcept specialization 2017-05-03 02:39:56 +00:00
corelib QFile::rename: use the open file's ID, instead of using the file name 2017-07-18 15:51:35 +00:00
dbus Fix modernize-use-bool-literals issues 2017-07-08 11:49:55 +00:00
gui QPMCache::remove(): Do not dereference erased iterator 2017-07-19 10:47:55 +00:00
network QAsn1Element - fix toDateTime function 2017-07-18 13:09:16 +00:00
opengl Convert features.graphicseffect to QT_[REQUIRE_]CONFIG 2017-07-11 02:52:03 +00:00
openglextensions Also release winmain, qopenglextensions under commercial licenses 2016-11-18 16:19:56 +00:00
platformheaders Doc: rephrase parameter description to avoid qdoc error message 2017-04-18 10:37:50 +00:00
platformsupport Read more KDE configuration in the KDE platform theme 2017-07-18 08:11:27 +00:00
plugins xcb: fix freeze when (un)plugging input devices 2017-07-19 12:48:55 +00:00
printsupport Convert features.filesystemmodel to QT_[REQUIRE_]CONFIG 2017-07-02 10:39:04 +00:00
sql make sql drivers independently configurable 2017-06-17 06:47:48 +00:00
testlib testlib: Allow tailing comments in blacklist files 2017-07-18 13:04:08 +00:00
tools Bump copyright year of qdbuscpp2xml and qdbusxml2cpp to 2017 2017-07-14 13:00:54 +00:00
widgets Allow fusion style to follow platform theme on button icons 2017-07-17 09:04:11 +00:00
winmain Merge remote-tracking branch 'origin/5.8' into 5.9 2017-02-08 15:49:18 +01:00
xml Prefer rvalue versions of toLatin() and toUtf8() 2017-03-30 20:31:59 +00:00
src.pro Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00