graesslin added a comment. Restricted Application edited projects, added Plasma; removed KWin.
I had another idea: when the Event gets processed and the m_device is null, we just update it again from the event. Something like if (!event->device()) { event->updateDevice(); } with void Device::updateDevice() { m_device = Device::getDevice(libinput_event_get_device(m_event); } REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D10234 To: fvogt, #plasma, graesslin Cc: kwin, plasma-devel, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart