Diffusion KWin 445335ba5f33

Merge signal connections for AbstractClient in Workspace

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

Description

Merge signal connections for AbstractClient in Workspace

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

Details

Committed
graesslinJul 13 2016, 8:44 AM
Differential Revision
D2059: Merge signal connections for AbstractClient in Workspace
Parents
R108:f9725a6849b3: [tests] Fix build - missing include to QDebug
Branches
Unknown
Tags
Unknown