fvogt created this revision. fvogt added reviewers: Plasma, graesslin. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin. fvogt requested review of this revision. Restricted Application edited projects, added Plasma; removed KWin.
REVISION SUMMARY The KWin-native LibInput::Event type needs to know the KWin-native LibInput::Device during construction. This is not guaranteed to be known when the event loop is being filled. So instead create the KWin-native Event only when it's needed. BUG: 389674 TEST PLAN kwin_wayland starts now without crashing. REPOSITORY R108 KWin BRANCH Plasma/5.12 REVISION DETAIL https://phabricator.kde.org/D10234 AFFECTED FILES libinput/connection.cpp libinput/connection.h libinput/context.cpp libinput/context.h To: fvogt, #plasma, graesslin Cc: kwin, plasma-devel, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart