Implement hotplugging on Xlib

Authored by fvogt on Dec 31 2017, 1:54 PM.

Description

Implement hotplugging on Xlib

Summary:
Register for events using Xlib and read them using Xcb.
This is a mixture of the method used in
qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
and plasma-desktop's ca7618dd6173db8a8f0e36d91a38a1d4ac7d0706

BUG: 361743

Test Plan:
Restarted kded after make install, plugging and unplugging
causes notifications.

Reviewers: valeriymalov

Reviewed By: valeriymalov

Subscribers: valeriymalov

Differential Revision: https://phabricator.kde.org/D9576

Details

Committed
fvogtJan 2 2018, 7:11 PM
Reviewer
valeriymalov
Differential Revision
D9576: Implement hotplugging on Xlib
Parents
R530:108b51a9e989: Fix CMP0063, clean up top-level CMakeLists.txt a bit
Branches
Unknown
Tags
Unknown