Skip to content
  • David Edmundson's avatar
    [server] Wrap proxyRemoveSurface in smart pointer · 6568802c
    David Edmundson authored
    Summary:
    proxyRemoteSurface is a fake wayland surface created for the drag and
    drop between X and wayland clients.
    
    The lifespan is not guaranteed to outlive the DataDevice.
    
    Kwin closes Xwl before the other wayland client connections so it's
    technically dangling for a bit when events could be dispatched.
    
    Probably will never happen, but better to guard and be safe.
    
    Test Plan: Compiles
    
    Reviewers: #kwin, zzag
    
    Reviewed By: #kwin, zzag
    
    Subscribers: kde-frameworks-devel
    
    Tags: #frameworks
    
    Differential Revision: https://phabricator.kde.org/D22862
    6568802c