You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
connection.cpp [libinput] Properly handle threaded Device creation 8 years ago
connection.h Pass LibInput::Device* through the event handlers 8 years ago
context.cpp [libinput] A not valid LibInput::Context should return -1 as filedescriptor 8 years ago
context.h
device.cpp [libinput] Track all created Devices in Device 8 years ago
device.h [libinput] Track all created Devices in Device 8 years ago
events.cpp [libinput] Add the Device to Event 8 years ago
events.h [libinput] Add the Device to Event 8 years ago
libinput_logging.cpp [libinput] Add dedicated logging category for libinput 9 years ago
libinput_logging.h [libinput] Add dedicated logging category for libinput 9 years ago