D6264: Fix switch desktop on screenedge while resizing a Wayland window
This revision was automatically updated to reflect the committed changes. Closed by commit R108:7a3c29261226: Fix switch desktop on screenedge while resizing a Wayland window (authored by graesslin). REPOSITORY R108 KWin CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D6264?vs=15562&id=15617 REVISION DETAIL https://phabricator.kde.org/D6264 AFFECTED FILES screenedge.cpp To: graesslin, #kwin, #plasma, mart Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
D6264: Fix switch desktop on screenedge while resizing a Wayland window
mart accepted this revision. This revision is now accepted and ready to land. BRANCH fix-screenedge-wayland-window-resize-5.10 REVISION DETAIL https://phabricator.kde.org/D6264 To: graesslin, #kwin, #plasma, mart Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
D6264: Fix switch desktop on screenedge while resizing a Wayland window
graesslin added a dependency: D6257: Fix switch desktop through edge when moving window. REVISION DETAIL https://phabricator.kde.org/D6264 To: graesslin, #kwin, #plasma Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas
D6264: Fix switch desktop on screenedge while resizing a Wayland window
graesslin created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. REVISION 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. BRANCH fix-screenedge-wayland-window-resize-5.10 REVISION DETAIL https://phabricator.kde.org/D6264 AFFECTED FILES screenedge.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas