kwin/plugins/platforms/wayland
Roman Gilg b3e7664d2c 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
2019-09-05 17:29:08 +02:00
..
CMakeLists.txt
egl_wayland_backend.cpp
egl_wayland_backend.h
logging.cpp
logging.h
scene_qpainter_wayland_backend.cpp
scene_qpainter_wayland_backend.h
wayland.json
wayland_backend.cpp
wayland_backend.h
wayland_output.cpp Replace Wayland/XDG outputs checks with enablement checks 2019-09-05 17:29:08 +02:00
wayland_output.h