Diffusion KWin 2fb2fb9a44af

[wayland] add explict AbstractClient::setDesktops(QList)

Authored by davidedmundson on Nov 13 2018, 3:59 PM.

Description

[wayland] add explict AbstractClient::setDesktops(QList)

Summary:
Currently setDesktop and unsetDesktop were out of sync, with the latter
missing several important signals and updating of transients.

By using a a shared implementation we avoid that, it also allows for an
atomic move of a window between desktops.

setDesktop is changed back to be a moval of desktop as it currently
broke several unit tests as well as changing the behaviour of the move
to desktop shortcut on wayland.

Test Plan:
testBindings now passes
Moved windows with the context menu on X11

Reviewers: KWin, graesslin

Reviewed By: KWin, graesslin

Subscribers: graesslin, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D16703

Details

Committed
davidedmundsonNov 13 2018, 4:07 PM
Reviewer
KWin
Differential Revision
D16703: [wayland] add explict AbstractClient::setDesktops(QList)
Parents
R108:7e73ad230a8a: Merge branch 'Plasma/5.14'
Branches
Unknown
Tags
Unknown