Handle buffer scales changing dynamically
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
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.
Opened gtk3-demo and changed screen scale. It's now perfect.
Patch for Qt to work correctly incoming.
Reviewers: Plasma, graesslin
Reviewed By: Plasma, graesslin
Subscribers: graesslin, plasma-devel, kwin, KWin
Differential Revision: https://phabricator.kde.org/D7486