D17433: Add a dbus method getWindowInfo returning same data as queryWindowInfo
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin created this revision. graesslin added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. graesslin requested review of this revision. REVISION SUMMARY This dbus method is intended to be used by the kwin rules dialog. KWin can pass the internal id to the rules dialog through a command line argument (or similar way) and the dialog can query the information through the dbus call for the provided id. Thus it's possible to implement one way to query the information which works on both X11 and Wayland without any windowing system specific functionality. TEST PLAN See new added integration test REPOSITORY R108 KWin BRANCH dbus-get-window-info REVISION DETAIL https://phabricator.kde.org/D17433 AFFECTED FILES autotests/integration/CMakeLists.txt autotests/integration/dbus_interface_test.cpp dbusinterface.cpp dbusinterface.h org.kde.KWin.xml To: graesslin, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart