kwin/plugins
Roman Gilg df3c1de848 [platforms/drm] Rework enablement and dpms switching
Summary:
This patch further refines output management.

We go now through AbstractWaylandOutput virtual functions to enable and
disable outputs.

Dpms changes and enablement switches use separate code paths at start in the
Drm backend code since they are similar but not the directly same. Common code
is shared though, functions are renamed accordingly.

Asserts have been put in place to better understand and check the control
flow. A seemingly unnecessary call to DrmOutput::pageFlipped on reactivation
after Vt switch has been removed to allow for that.

In future patches we need to look additionally at the legacy mode switching
code path which was and is still not working and better handling of the
current monitor Dpms state. For example a monitor being switched off is not
properly acted on and the workspace still expanded.

Test Plan:
With one and two monitors:
* Dpms off/on
* Vt switches
* Screen disable/enable

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Maniphest Tasks: T11459

Differential Revision: https://phabricator.kde.org/D23600
2019-09-05 17:36:21 +02:00
..
idletime Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
kdecorations [plugins/aurorae] Fix indentation in Decoration::updateBuffer 2019-08-28 19:39:31 +03:00
kglobalaccel Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2019-08-30 05:26:49 +02:00
platforms [platforms/drm] Rework enablement and dpms switching 2019-09-05 17:36:21 +02:00
qpa Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
scenes Switch to Q_ASSERT 2019-08-31 20:07:05 +03:00
windowsystem Remove slideWindow(QWidget*) overload with recent KWindowSystem 2019-08-22 14:09:41 +02:00
CMakeLists.txt Move package structure plugins to plugins dir 2019-03-11 10:57:13 +02:00