Add a dbus method getWindowInfo returning same data as queryWindowInfo
ClosedPublic

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

Details

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

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Dec 8 2018, 4:11 PM
Restricted Application added a project: KWin. · View Herald TranscriptDec 8 2018, 4:11 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin requested review of this revision.Dec 8 2018, 4:11 PM
mart accepted this revision.Dec 14 2018, 4:04 PM
This revision is now accepted and ready to land.Dec 14 2018, 4:04 PM
This revision was automatically updated to reflect the committed changes.