D16986: Introduce the concept of an internal window system independent id
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 For supporting Wayland windows in the kwin_rules_dialog we need a way to pass a window id for Wayland windows to the dialog. This id needs to be sent to the dbus interface to query window information just like the interactive query. For Wayland windows we don't really have a window id and it would require to also pass the windowing system to kwin_rules_dialog and back through the dbus interface. To not complicate things this change introduces a windowing system independent id based on UUID. This could in future also be used internally for areas where it's window id based and used in both windowing systems. TEST PLAN Adjusted test cases to verify the uuid is generated and passed to Deleted REPOSITORY R108 KWin BRANCH internal-id REVISION DETAIL https://phabricator.kde.org/D16986 AFFECTED FILES autotests/integration/shell_client_test.cpp autotests/integration/x11_client_test.cpp toplevel.cpp toplevel.h To: graesslin, #kwin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart