[PATCH 1/2] Introduce keyboard grabbing protocol for Xwayland
Olivier Fourdan
ofourdan at redhat.com
Mon Apr 24 18:49:30 UTC 2017
hi Kristian,
> > Yes, that's precisely the whole point of this protocol (and grabs in
> > general) :)
> >
> > Take the attached sample code for example, it maps a single override
> > redirect window (one that no X11 window manager would focus, because it's
> > an O-R) and issues an active keyboard grab to get all keyboard events.
> >
>
> What is the use case that this is trying to support though? Which Xwayland
> apps are you trying to support with this?
Typically those which map a single O-R window and grab the keyboard (the example attached in my previous email), like gksu (or "vmware-gksu"):
https://bugs.freedesktop.org/show_bug.cgi?id=96547
(or even https://bugzilla.gnome.org/show_bug.cgi?id=752956 but that's more of a corner case).
Cheers,
Olivier
More information about the wayland-devel
mailing list