The member variable is not what determines which desktop a window is on, it's more like caching the state. Therefore trying to fake a new value eventually leads to inconsistencies, e.g. having KWrite open with unsaved changes on inactive desktop results in the window ending up on all desktops after session save (both successful and cancelled). This pretty much reverts the wholeremotes/origin/mart/xdgv6ping7ce380497fthat introduced this and alsoa0a976885cthat tried to fix some of the problems resulting from it. The original problem of session saving of windows of inactive activities still remains, to be fixed by another commit. Differential Revision: https://phabricator.kde.org/D5613
parent
a2d19c6b9d
commit
f4de9618f8
4 changed files with 10 additions and 45 deletions
Loading…
Reference in new issue