Skip to content
  • Martin Flöser's avatar
    [helper] Terminate xclipboardsyncer if kwin_wayland goes down · 572f730e
    Martin Flöser authored
    Summary:
    Normally the xclipboardsyncer should terminate because the socket
    becomes unusable. But we have reports of it not really going down and
    running amok.
    
    In order to prevent such situations this change registers SIGTERM to be
    sent to xclipboardsyncer when the parent process (that is kwin_wayland)
    dies in whatever way. This ensures that xclipboardsyncer cannot become
    an orphan.
    
    BUG: 371862
    
    Test Plan: Only compile tested, no way to get into the problematic situation
    
    Reviewers: #kwin, #plasma
    
    Subscribers: plasma-devel, kwin
    
    Tags: #kwin
    
    Differential Revision: https://phabricator.kde.org/D5589
    572f730e