diff options
author | Ian Forbes <ian.forbes@broadcom.com> | 2025-08-05 10:20:00 -0500 |
---|---|---|
committer | Marge Bot <marge-bot@fdo.invalid> | 2025-09-12 07:47:39 +0000 |
commit | afc8b781d87a490da7d56a76e5a30877face1fc0 (patch) | |
tree | a24c36a7be26cb5d474780d376609a03c15e080e /dix/atom.c | |
parent | b644922366d55b80b7cf0112900e17f695eed9a9 (diff) |
xwayland: Try harder to find a top-level for root grabs
The commit referenced below partially resolved an issue with grabs being made
on the root window. Unfortunately it assumes that the application uses
the same client for all windows. VMware Workstation uses nested windows
for each VM, each of which runs its own process with this own client.
Theses windows are managed by the GUI which is the top level for the
application and maps the windows based on which tab is selected.
Because the VM windows issue a grab on the root window and don't share
the same client as the GUI, grabs don't work properly with global shortcut
inhibition being completely broken.
Getting the parent top-level of the nested windows fixes this issue.
Fixes: c7730cfe5577 ("xwayland: Translate keyboard grabs on the root window")
Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2016>
Diffstat (limited to 'dix/atom.c')
0 files changed, 0 insertions, 0 deletions