D23486: Rely on output device existence

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
  For every abstract wayland output an output device interface is created
  by the backend directly after instance creation. We can therefore rely on
  its existence and remove superfluous checks.

TEST PLAN
  Relevant auto tests pass. Wayland nested and DRM sessions tested.

REPOSITORY
  R108 KWin

BRANCH
  ensureOutputDevice

REVISION DETAIL
  https://phabricator.kde.org/D23486

AFFECTED FILES
  abstract_wayland_output.cpp

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.