D10156: Block geometry updates on move resize finish and don't configure xdg shell surfaces while blocked

Martin Flöser noreply at phabricator.kde.org
Sun Jan 28 09:36:23 UTC 2018


graesslin created this revision.
graesslin added reviewers: KWin, Plasma, jgrulich.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.
graesslin requested review of this revision.
Restricted Application edited projects, added Plasma; removed KWin.

REVISION SUMMARY
  We send out too many configure requests when finishing move resize which
  also triggers quick tiling. This change addresses the problem of the too
  many configure requests by making the configure method check whether
  geometry updates are blocked. And to make this work properly for the end
  of finish move resize the complete method is wrapped in a geometry
  update blocker.

TEST PLAN
  Quick tiling test passes, both Wayland and X11 windows are
  quick tiled correctly.

REPOSITORY
  R108 KWin

BRANCH
  block-geometry-update-on-finish-resize-5.12

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

AFFECTED FILES
  autotests/integration/quick_tiling_test.cpp
  geometry.cpp
  shell_client.cpp
  shell_client.h

To: graesslin, #kwin, #plasma, jgrulich
Cc: plasma-devel, kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180128/aedb38fd/attachment.html>


More information about the Plasma-devel mailing list