Diffusion KWin 95c983e6d858

Handle buffer scales changing dynamically

Authored by davidedmundson on Aug 24 2017, 4:57 PM.

Description

Handle buffer scales changing dynamically

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.

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: graesslin, plasma-devel, kwin, KWin

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D7486

Details

Committed
davidedmundsonAug 24 2017, 4:57 PM
Reviewer
Plasma
Differential Revision
D7486: Handle buffer scales changing dynamically
Parents
R108:f0971532c90b: Send output enter/leave events to surfaces
Branches
Unknown
Tags
Unknown