Diffusion KWin ec7fe4419011

Make xstacking order dirty handling work without X11

Authored by graesslin on Sep 17 2017, 7:26 AM.

Description

Make xstacking order dirty handling work without X11

Summary:
The xStackingOrder unlike indicated by it's name is relevant for both
X11 and Wayland and contains the stacking order of the windows used for
compositing.

So far it was determined whether it needs to be recreated based on
whether an xcb query is pending. This change introduces a boolean
variable to check whether the stacking order is dirty and guards the X11
specific code to only be run if we have an X11 connection.

This is to my current knowledge the last remaining issue where X11 was
used during the normal Wayland operation mode. Now it should be possible
to re-order the Workspace startup [1] and try to run kwin_wayland without
Wayland support.

[1] Workspace::Workspace and Workspace::init is still highly X11
specific and needs to be split into X11 only and general parts.

Test Plan: Compiles

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

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

Details

Committed
graesslinSep 30 2017, 10:59 AM
Differential Revision
D7856: Make xstacking order dirty handling work without X11
Parents
R108:f7d6e4affd22: [tabbox] Drop the passing to Effects in X11 Filter
Branches
Unknown
Tags
Unknown