Fix switch desktop on screenedge while resizing a Wayland window
ClosedPublic

Authored by graesslin on Jun 19 2017, 5:09 AM.

Details

Summary

Screenedges only allows to switch desktop while moving window, not
while resizing. There was a special branch which only checked this for
X11 windows but not for Wayland windows.

This change removes a no longer needed cast from AbstractClient to Client
so that the check whether a window is getting resized works for both
X11 and Wayland clients. The cast was introduced in a time when
AbstractClient did not yet support the isResize method.

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.
graesslin created this revision.Jun 19 2017, 5:09 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJun 19 2017, 5:09 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Jun 19 2017, 6:24 PM
This revision is now accepted and ready to land.Jun 19 2017, 6:24 PM
This revision was automatically updated to reflect the committed changes.