D7486: Handle buffer scales changing dynamically

David Edmundson noreply at phabricator.kde.org
Wed Aug 23 14:17:50 UTC 2017


davidedmundson created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: KWin, kwin, plasma-devel.

REVISION SUMMARY
  Currently when a client changes it's buffer size the result is corrupt
  until we move the window.
  
  When a client buffer scale changes we need to redraw the whole window,
  and most importantly flush the cached window quads, which reference the
  scale.
  
  This is not handled by the doSetGeometry() from the size changing as the
  normalised size of the client remains the same so it no-ops.

TEST PLAN
  Opened gtk3-demo and changed screen scale. It's now perfect.
  Patch for Qt to work correctly incoming.

REPOSITORY
  R108 KWin

BRANCH
  xdgv6

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

AFFECTED FILES
  shell_client.cpp

To: davidedmundson, #plasma
Cc: plasma-devel, kwin, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170823/387c5afa/attachment-0001.html>


More information about the Plasma-devel mailing list