D27899: [wayland] Simplify output handling
David Edmundson <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
davidedmundson created this revision. davidedmundson added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. davidedmundson requested review of this revision. REVISION SUMMARY Instead of changing lifespan of kwayland objects we can just call create() and delete() on it which affects the lifespan of the underlying resource, but not the kwayland wrapper. This gets rid of some duplicate syncing. TEST PLAN Ran WAYLAND_DEBUG=1 plugged in and removed a monitor output showed wl_output and xdg_output being handled correctly REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D27899 AFFECTED FILES abstract_wayland_output.cpp abstract_wayland_output.h To: davidedmundson, #kwin Cc: kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart