D24455: [wayland] Implement window geometry more properly

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.