Diffusion KWin 80d3f148e0a7

[wayland] Simplify output handling

Authored by davidedmundson on Mar 23 2020, 11:04 PM.

Description

[wayland] Simplify output handling

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

Reviewers: KWin, zzag

Reviewed By: KWin, zzag

Subscribers: zzag, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D27899

Details

Committed
davidedmundsonMar 23 2020, 11:04 PM
Reviewer
KWin
Differential Revision
D27899: [wayland] Simplify output handling
Parents
R108:93e8231b6104: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown