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 Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00
dbuscall.cpp New QML Type DBusCall 2013-08-13 09:57:51 +02:00
dbuscall.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
documentation-effect-global.xml export AnimationEffect::set and ::cancel to script 2013-03-28 19:47:30 +01:00
documentation-global.xml Allow configuring script's screen edges from the KCM 2016-10-07 15:20:14 +01:00
genericscriptedconfig.cpp optimize string operations 2015-11-05 14:14:06 +00:00
genericscriptedconfig.h Run clang-tidy with modernize-use-override check 2019-07-22 20:03:22 +03:00
genericscriptedconfig.json [kwin] Fix genericscripted config 2014-03-19 08:00:28 +01:00
kwinscript.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-07-13 05:18:09 +02:00
Messages.sh Fix message extraction 2018-05-20 08:14:50 +03:00
meta.cpp Merge branch 'Plasma/5.17' 2019-10-25 17:50:13 +03:00
meta.h Merge branch 'Plasma/5.17' 2019-10-25 17:50:13 +03:00
screenedgeitem.cpp Add support for new touch screen edge actions to declarative KWin scripts 2017-04-07 16:17:48 +02:00
screenedgeitem.h Use nullptr everywhere 2019-09-19 17:48:21 +03:00
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 Rename Client to X11Client 2019-09-25 21:11:37 +03:00
scripting_logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
scripting_logging.h [scripting] Add dedicated logging category 2015-07-31 13:25:51 +02:00
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 Asserts for KWin scripts 2012-05-10 10:00:54 +02:00
scriptingutils.h Use more traditional doxygen style 2019-07-29 22:06:19 +03:00
timer.cpp Strip module path from all Qt #include <> 2013-03-06 10:26:56 +01:00
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