Diffusion KWin b3e7664d2cd2

Replace Wayland/XDG outputs checks with enablement checks

Authored by romangg on Aug 28 2019, 6:54 PM.

Description

Replace Wayland/XDG outputs checks with enablement checks

Summary:
Make it more explicit what the relation is between Wayland and XDG objects
existing and enablement:

The ouput is enabled if and only if Wayland and XDG output objects exist.

We can simplify the code by replacing checks on the outputs with checking
the current enablement value.

Test Plan: Wayland nested and virtual backends.

Reviewers: KWin

Subscribers: kwin

Tags: KWin

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

Details

Committed
romanggSep 5 2019, 3:29 PM
Differential Revision
D23553: Replace Wayland/XDG outputs checks with enablement checks
Parents
R108:f7ff62e2e2e5: Lift output enablement into Platform
Branches
Unknown
Tags
Unknown