[PATCH 1/2] Introduce keyboard grabbing protocol for Xwayland
Quentin Glidic
sardemff7+wayland at sardemff7.net
Mon Apr 3 14:01:53 UTC 2017
On 4/3/17 3:47 PM, Olivier Fourdan wrote:
> Hi Quentin,
>
>> I think it may be worth it to add a little safety net:
>> “Compositors are required to restrict this interface to Xwayland alone,
>> and raise a protocol error for native Wayland clients.”
>
> Yes, agreed, good point! But do we really need to kill a client that would dare to try to bind to the grab interface?
>
> Right now my implementation simply ignores the bind request...
I was thinking about your “hide global”[1] API, which does kill the
client. It seems like a perfect use of it to me.
[1]
<https://cgit.freedesktop.org/wayland/wayland/commit/?id=d915447365be68a39607a176e03e06a05cb8a72d>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list