kwin/libinput
Martin Gräßlin 9b187f8a3b [libinput] Properly handle threaded Device creation
Summary:
Device is created from Connection::processEvents which is run in the
main gui thread, while Connection itself is in a different thread. Thus
passing *this* as parent is wrong.

This change removes the parent, moves the created Device into the
Connection thread and also deletes properly by using deleteLater.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D1746
2016-06-02 16:24:31 +02:00
..
connection.cpp [libinput] Properly handle threaded Device creation 2016-06-02 16:24:31 +02:00
connection.h Pass LibInput::Device* through the event handlers 2016-05-30 15:26:37 +02:00
context.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 2016-06-02 16:23:23 +02:00
context.h Move Udev into an own header and implementation 2015-04-24 12:03:19 +02:00
device.cpp [libinput] Track all created Devices in Device 2016-05-25 12:13:03 +02:00
device.h [libinput] Track all created Devices in Device 2016-05-25 12:13:03 +02:00
events.cpp [libinput] Add the Device to Event 2016-05-30 15:23:38 +02:00
events.h [libinput] Add the Device to Event 2016-05-30 15:23:38 +02:00
libinput_logging.cpp [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00
libinput_logging.h [libinput] Add dedicated logging category for libinput 2015-07-31 12:43:35 +02:00