D23553: Replace Wayland/XDG outputs checks with enablement checks

Roman Gilg noreply at phabricator.kde.org
Thu Aug 29 00:43:37 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190828/15b2360a/attachment.html>


More information about the kwin mailing list