kwin/kcmkwin
Martin Flöser 1d71292e13 Add a method to dbus interface to query information about a window
Summary:
This call is added for the window rules kcm which has a detect
functionality. As that detect functionality cannot query any Wayland
windows we need to have some functionality in KWin core. Furthermore
this allows to simplify the code in the kcm as all the custom X11
interaction can be removed. KWin internally has the functionality to
find a window at a given position.

From a security perspective adding this dbus method is fine as the user
stays in control of the functionality. It requires active click to
select a window.

The new dbus call is already used in the rules kcm replacing the
X11 based detect functionality. That a detect is now able to get
information for both X11 and Wayland windows. So far only X11 windows
on X11 were supported. So this fills an important gap in the Wayland
offerings. It should now be possible to create rules for Wayland
windows (though may not be fully functional).

Test Plan: Run the kwin_rules_dialog and it detected the window correctly

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10490
2018-02-25 14:12:04 +01:00
..
kwincompositing SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-25 05:32:33 +01:00
kwindecoration Make it possible to compile 5.12 branch with a kdecoration from master 2018-02-07 19:43:53 +01:00
kwindesktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-20 07:06:47 +01:00
kwinoptions SVN_SILENT made messages (.desktop file) - always resolve ours 2017-12-28 04:45:41 +01:00
kwinrules Add a method to dbus interface to query information about a window 2018-02-25 14:12:04 +01:00
kwinscreenedges SVN_SILENT made messages (.desktop file) - always resolve ours 2018-01-04 04:53:47 +01:00
kwinscripts SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-25 05:32:33 +01:00
kwintabbox SVN_SILENT made messages (.desktop file) - always resolve ours 2018-02-25 05:32:33 +01:00
CMakeLists.txt Drop build option KWIN_BUILD_SCREENEDGES 2014-11-24 10:48:49 +01:00