kwin/scripting
Vlad Zahorodnii 7b751099bf Emit Workspace::clientAdded() with AbstractClient
Summary:
Currently, if one wants to monitor for new X11 and Wayland clients, they
have to listen for two signals. Workspace::clientAdded() is emitted only
for X11 and Xwayland clients, while WaylandServer::shellClientAdded() is
emitted only for xdg-shell clients. Such design doesn't scale well.

As the first towards emitting Workspace::clientAdded() for new Wayland
clients, this change replaces the X11Client parameter in the clientAdded
signal with AbstractClient.

Test Plan: Tests still pass.

Reviewers: #kwin, cblack

Reviewed By: cblack

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D29665
2020-05-12 08:38:01 +03:00
..
CMakeLists.txt
dbuscall.cpp
dbuscall.h
documentation-effect-global.xml
documentation-global.xml
genericscriptedconfig.cpp
genericscriptedconfig.h
genericscriptedconfig.json
kwinscript.desktop
Messages.sh
meta.cpp
meta.h
screenedgeitem.cpp
screenedgeitem.h
scriptedeffect.cpp [effects] Add effect to hold the desktop window static after plasmashell quits 2019-11-01 17:14:55 +00:00
scriptedeffect.h [effects] Add effect to hold the desktop window static after plasmashell quits 2019-11-01 17:14:55 +00:00
scripting.cpp scripting: Introduce ClientModelByScreenAndActivity 2020-05-11 14:27:00 +03:00
scripting.h
scripting_logging.cpp
scripting_logging.h
scripting_model.cpp scripting: Introduce ClientModelByScreenAndActivity 2020-05-11 14:27:00 +03:00
scripting_model.h scripting: Introduce ClientModelByScreenAndActivity 2020-05-11 14:27:00 +03:00
scriptingutils.cpp
scriptingutils.h
timer.cpp
workspace_wrapper.cpp Emit Workspace::clientAdded() with AbstractClient 2020-05-12 08:38:01 +03:00
workspace_wrapper.h Emit Workspace::clientAdded() with AbstractClient 2020-05-12 08:38:01 +03:00