[Differential] [Request, 3 lines] D1812: Update window geometry when creating the decoration in ShellClient

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Jun 10 08:55:49 UTC 2016


graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  When managing a new decorated ShellClient we observed that the window
  gets placed with a wrong geometry and on next damage event expands into
  a strutted area.
  
  The main reason for this behavior is that the window geometry did not
  get updated when creating the decoration. With this change the geometry
  gets updated, so that the placement is performed on the correct geometry.
  
  The change itself does not yet cover all conditions. E.g. a maximized
  windows which will get decorations will be incorrectly sized. This
  requires further changes.

REPOSITORY
  rKWIN KWin

BRANCH
  update-geometry-on-create-deco

REVISION DETAIL
  https://phabricator.kde.org/D1812

AFFECTED FILES
  shell_client.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, hardening, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160610/e600c75c/attachment.html>


More information about the Plasma-devel mailing list