Adjust scene for client-side decorated clients
Needs ReviewPublic

Authored by zzag on Mon, Oct 7, 10:46 AM.


Group Reviewers
Maniphest Tasks
T10867: XDG WindowGeometry

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.

Diff Detail

R108 KWin
Lint OK
No Unit Test Coverage
Build Status
Buildable 17390
Build 17408: arc lint + arc unit
zzag created this revision.Mon, Oct 7, 10:46 AM
Restricted Application added a project: KWin. · View Herald TranscriptMon, Oct 7, 10:46 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Mon, Oct 7, 10:46 AM
zzag edited the summary of this revision. (Show Details)Mon, Oct 7, 10:58 AM
romangg added a subscriber: romangg.Mon, Oct 7, 5:49 PM

Please link the corresponding overview task(s) for this large patch series. And add some information in the task how the separate patches successively solve it.