On Wayland processXcbEvents calls workspaceEvents and updateX11Time but this
is already done in the native event filter.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin - Commits
- R108:afc80f8bd5bd: Call workspaceEvent and updateX11Time only once per event
Manual test shows Xwayland still works and constant calls to
XcbEventFilter::nativeEventFilter are processed.
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.
Comment Actions
Makes sense, code happened because the X11 filter was added afterwards: c8ebcf4ca2
main_wayland.cpp | ||
---|---|---|
226 | It wasn't doing it more than once per event previously, we have this continue here if it was handled. But you're right it's redundant. |
main_wayland.cpp | ||
---|---|---|
226 | True in case the event is handled, but in case the event is not handled the code tried unnecessarily a second time to handle it (and updateX11Time was called twice always). |