D24455: [wayland] Implement window geometry more properly
Vlad Zahorodnii
noreply at phabricator.kde.org
Mon Oct 7 11:41:57 BST 2019
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.
REVISION SUMMARY
So far the window geometry from xdg-shell wasn't implemented as it should
be. A toplevel must have two geometries assigned to it - frame and buffer.
The frame geometry describes bounds of the client excluding server-side
and client-side drop-shadows. The buffer geometry specifies rectangle on
the screen occupied by the main surface.
State and geometry handling in XdgShellClient is still a bit broken. This
change doesn't intend to fix that, it must be done in another patch asap.
TEST PLAN
New tests pass.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D24455
AFFECTED FILES
autotests/integration/xdgshellclient_test.cpp
deleted.cpp
deleted.h
internal_client.cpp
internal_client.h
toplevel.h
unmanaged.cpp
unmanaged.h
x11client.cpp
x11client.h
xdgshellclient.cpp
xdgshellclient.h
To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191007/3443e49a/attachment.html>
More information about the kwin
mailing list