D23553: Replace Wayland/XDG outputs checks with enablement checks
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg created this revision. romangg added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. romangg requested review of this revision. REVISION 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. REPOSITORY R108 KWin BRANCH enableOutputCheck REVISION DETAIL https://phabricator.kde.org/D23553 AFFECTED FILES abstract_wayland_output.cpp abstract_wayland_output.h To: romangg, #kwin Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, mart