Merge signal connections for AbstractClient in Workspace
ClosedPublic

Authored by graesslin on Jul 1 2016, 2:06 PM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 4888.Jul 1 2016, 2:06 PM
graesslin retitled this revision from to Merge signal connections for AbstractClient in Workspace.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptJul 1 2016, 2:06 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Jul 12 2016, 9:13 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

LGTM :)

This revision is now accepted and ready to land.Jul 12 2016, 9:13 PM
This revision was automatically updated to reflect the committed changes.