Skip to content
  • David Edmundson's avatar
    [wayland] Simplify output handling · 80d3f148
    David Edmundson authored
    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
    80d3f148