Rely on output device existence
ClosedPublic

Authored by romangg on Aug 27 2019, 11:31 AM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Aug 27 2019, 11:31 AM
Restricted Application added a project: KWin. · View Herald TranscriptAug 27 2019, 11:31 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
romangg requested review of this revision.Aug 27 2019, 11:31 AM
davidedmundson accepted this revision.Aug 28 2019, 11:03 AM
This revision is now accepted and ready to land.Aug 28 2019, 11:03 AM
This revision was automatically updated to reflect the committed changes.