[Differential] [Request, 11 lines] D2627: Set the restore geometry after placing a ShellClient for the first time
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue Aug 30 11:20:55 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland, bshah.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
The restore geometry gets initially set to 0/0xsize before the placement
is done. When going into updateClientArea and then afterwards into
AbstractClient::checkWorkspacePosition the geometry restory is used for
calculating the new position. This results in windows getting moved to
0/0 when e.g. plugging in a new screen or a panel changes, etc.
This change ensures that the restore geometry is set correctly after the
first placement.
BUG: 366696
REPOSITORY
rKWIN KWin
BRANCH
geometry-restore-after-placement
REVISION DETAIL
https://phabricator.kde.org/D2627
AFFECTED FILES
autotests/integration/plasma_surface_test.cpp
shell_client.cpp
shell_client.h
workspace.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland, bshah
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160830/086d33f2/attachment.html>
More information about the Plasma-devel
mailing list