Diffusion KWin 9993c6d674b7

Add a dbus method getWindowInfo returning same data as queryWindowInfo

Authored by graesslin on Dec 8 2018, 4:06 PM.

Description

Add a dbus method getWindowInfo returning same data as queryWindowInfo

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

Reviewers: KWin

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D17433