Diffusion KWin fb2d4c113f25

Adjust scene for client-side decorated clients

Authored by zzag on Sep 27 2019, 10:33 AM.

Description

Adjust scene for client-side decorated clients

Summary:
Currently our Scene is quite naive about geometry. It assumes that the
window frame wraps the attached buffer/client. While this is true for X11
clients, such geometry model is not suitable for client-side decorated
clients, in our case for xdg-shell clients that set window geometry
other than the bounding rectangle of the main surface.

In general, the proposed solution doesn't make any concrete assumptions
about the order between frame and buffer geometry, however we may still
need to reconsider the design of Scene once it starts to generate quads
for sub-surfaces.

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: davidedmundson, romangg, kwin

Tags: KWin

Maniphest Tasks: T10867

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

Details

Committed
zzagNov 27 2019, 12:12 PM
Reviewer
KWin
Differential Revision
D24462: Adjust scene for client-side decorated clients
Parents
R108:14dc76f6245f: Fix coding style issues in Scene::paintSimpleScreen
Branches
Unknown
Tags
Unknown