• Martin Flöser's avatar
    Merge signal connections for AbstractClient in Workspace · 445335ba
    Martin Flöser authored
    Summary:
    Have one dedicated method which performs the connection for both
    Client and ShellClient. This fixes the desktopPresenceChanged signal
    not being passed to the effects.
    
    Note that not all signals are merged. Most signals setup for Client
    don't make sense for ShellClient as ShellClient cannot block composite
    or unredirect.
    
    Test Plan:
    Test case added for ShellClient to ensure that the signal
    is correctly invoked on the ShellClient, Workspace and EffectsHandler.
    
    Reviewers: #kwin, #plasma_on_wayland
    
    Subscribers: plasma-devel, kwin
    
    Tags: #plasma_on_wayland, #kwin
    
    Differential Revision: https://phabricator.kde.org/D2059
    445335ba
wayland_server.cpp 20.3 KB