summaryrefslogtreecommitdiffstats
path: root/config.tests/mac/corewlan
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2023-03-21 07:37:37 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2023-03-21 22:00:50 +0100
commit2a9d93efc68324ce5e41831ea46a3945f1c4531d (patch)
tree999537aee360cb86e57f57950539c5ec281b348f /config.tests/mac/corewlan
parent37b47ebf946ef1a37573107375fbe5fc0eb1e6d2 (diff)
xcb: Delete QInputDevice instances that X11 no longer finds
QXcbConnection::xi2HandleHierarchyEvent() calls xi2SetupDevices() whenever the event tells us that a device was added or removed; but until now, those instances were not getting deleted until application exit. That was a memory leak, and also tended to get us confused when a newly-attached device happened to reuse the same device ID of something that was there before but had been removed in the meantime. Now, we hope that QInputDevice::devices() will be in sync with reality as X11 presents it to us. Amends da5dea807f497bc6004f40e966e5d882a2ba72b0 6589f2ed0cf78c9b8a5bdffcdc458dc40a974c60 etc. Task-number: QTBUG-46412 Fixes: QTBUG-56214 Fixes: QTBUG-98720 Fixes: QTBUG-99331 Task-number: QTBUG-104878 Fixes: QTBUG-112141 Pick-to: 6.2 6.5 6.5.0 Change-Id: I573805a41a12850f94561a030071f1437c4dc37e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'config.tests/mac/corewlan')
0 files changed, 0 insertions, 0 deletions