https://bugs.kde.org/show_bug.cgi?id=403376

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/bc83065cebd7ac855966da52e
                   |                            |dd1afcaf0fc2865

--- Comment #6 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit bc83065cebd7ac855966da52edd1afcaf0fc2865 by David Edmundson.
Committed on 10/05/2019 at 15:34.
Pushed by davidedmundson into branch 'master'.

Handle XdgShell window geometry in configure request sizes

Summary:
The size passed to an XDG shell configure request should match the
window size of the given window, we don't want to include the size of
any shadows that may be drawn by the client.

Kwin has the same concept of geometry for both window management, input
and rendering.

In order to approach this in a way that does not risk any regressions
with kwin's current structure AbstractClient::geometry remains the
canonical source and we handle the window within that internally within
ShellClient treating the windowGeometry as a set of margins from this.

This is part of a much bigger task (T10867). This patch addresses
windows growing when starting a drag based resize.

Test Plan:
Unit test
gtk3-demo

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: zzag, kwin

Tags: #kwin

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

M  +36   -0    autotests/integration/shell_client_test.cpp
M  +44   -4    shell_client.cpp
M  +5    -0    shell_client.h

https://commits.kde.org/kwin/bc83065cebd7ac855966da52edd1afcaf0fc2865

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to