D18624: [rfc] [wayland] Send a configure event when the resize is complete

Vlad Zagorodniy <[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
  The xdg-shell spec states that the compositor has to send a configure
  event without the resizing state once the resize operation is complete.
  
  Currently, KWin doesn't do that because GeometryUpdatesBlocker in
  finishMoveResize and the configure lambda in ShellClient::init conflict
  with each other.
  
  For the most part when geometry updates are blocked, KWin won't try to
  send a configure event, thus we can drop areGeometryUpdatesBlocked check,
  though it would be worth to consider abstracting RequestGeometryBlocker.

REPOSITORY
  R108 KWin

BRANCH
  send-configure-without-resizing

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

AFFECTED FILES
  autotests/integration/move_resize_window_test.cpp
  autotests/integration/quick_tiling_test.cpp
  shell_client.cpp

To: zzag, #kwin
Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, 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.