Splits out the X11 specific window movement handling so that it's not
used in the Wayland case at runtime. As a nice side effect it
un-spaghetties the X11 event handler.
Details
Details
- Reviewers
- None
- Group Reviewers
KWin Plasma - Commits
- R108:bd5f5e0915b3: Move X11 movingClient handling into a dedicated X11EventFilter
Run nested KWin on Xephyr and nested KWin/Wayland to verify
that move/resize of X11 windows is still working
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.
moving_client_x11_filter.cpp | ||
---|---|---|
37 | qobject_cast |
moving_client_x11_filter.cpp | ||
---|---|---|
37 | *shrug* honestly I don't see that the one or the other is better. The old code used dynamic_cast and I try to be as close as possible to the old one. |
moving_client_x11_filter.cpp | ||
---|---|---|
37 | both are fine, qobject_cast should be a tad faster, so is probably marginally better to change |