[tabbox] Properly check whether two windows belong to same application
ClosedPublic

Authored by graesslin on Sep 6 2017, 7:06 PM.

Details

Summary

TabBox implemented a custom way to check whether two windows belong to
the same application. KWin internally has API for that which does it
better, in a standardized way and even across windowing system.

This change uses the internal API, resulting in the check working better
on X11 and starts to work on Wayland.

Test Plan

Verified Alt+` with Wayland windows

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.Sep 6 2017, 7:06 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 6 2017, 7:06 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 6 2017, 7:29 PM
This revision is now accepted and ready to land.Sep 6 2017, 7:29 PM
This revision was automatically updated to reflect the committed changes.