As explained in 84e33081499fd0049fbe7908dd7b66b2eefd34b1
the DebugConsole should use an InputEventSpy instead of an InputEventFilter.
Details
Details
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
debug_console.cpp | ||
---|---|---|
188–191 | you could also drop this cast as it's now a MouseEvent in all cases. So just replace it by: #if HAVE_INPUT text.append(event->device()); #endif Similar code should also be in MouseButtonPress/Release switch, and the methods keyEvent and wheelEvent |