Re: [PATCH] Introduce keyboard grabbing protocol

2016-12-01 Thread Yong Bakos
Hi, > On Dec 1, 2016, at 3:07 AM, Olivier Fourdan wrote: > > Hey, > > - Original Message - >> On 30 August 2016 at 14:05, Olivier Fourdan wrote: Xwayland should probably use a private protocol, like EGL, ideally completely hidden and pid-restricted. >>> >>> That's the point,

Re: [PATCH] Introduce keyboard grabbing protocol

2016-12-01 Thread Olivier Fourdan
Hey, - Original Message - > On 30 August 2016 at 14:05, Olivier Fourdan wrote: > >> Xwayland should probably use a private protocol, like EGL, ideally > >> completely hidden and pid-restricted. > > > > That's the point, I initially thought of a private protocol, but then > > realized it c

Re: [PATCH] Introduce keyboard grabbing protocol

2016-11-21 Thread Daniel Stone
Hi, On 30 August 2016 at 14:05, Olivier Fourdan wrote: >> Xwayland should probably use a private protocol, like EGL, ideally >> completely hidden and pid-restricted. > > That's the point, I initially thought of a private protocol, but then > realized it could be useful outside of the Xwayland us

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-31 Thread Constantine Kharlamov
01.09.2016, 02:22, "Carsten Haitzler (The Rasterman)" : > if the vm decides that as a result of the grab error it will exit... who do > you blame? compositor that is saying "no" and tell it to always say yes... or > the app that chooses to take this as a fatal condition and exit? :) I understand,

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-31 Thread The Rasterman
On Tue, 30 Aug 2016 19:33:17 +0300 Constantine Kharlamov said: > 2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > > I think having a grab would mean one is focused. Though the point of > > having a key grabbing protocol is simply to override the compositors > > keybindings. A virtual machine will be ve

[PATCH] Introduce keyboard grabbing protocol

2016-08-31 Thread Constantine Kharlamov
2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > I think having a grab would mean one is focused. Though the point of > having a key grabbing protocol is simply to override the compositors > keybindings. A virtual machine will be very annoying to work with if > you can't have the VM or remote desktop cli

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Jonas Ådahl
On Tue, Aug 30, 2016 at 03:39:08PM +0200, Giulio Camuffo wrote: > 2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > > On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: > >> 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > >> > Hi Giulio, > >> > > >> >> i have a couple of comments below > >> >

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
2016-08-30 15:22 GMT+02:00 Jonas Ådahl : > On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: >> 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : >> > Hi Giulio, >> > >> >> i have a couple of comments below >> > >> > Thanks a lot for your quick reply! >> > >> >> 2016-08-30 11:54 GMT+02:00

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Jonas Ådahl
On Tue, Aug 30, 2016 at 02:12:29PM +0200, Giulio Camuffo wrote: > 2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > > Hi Giulio, > > > >> i have a couple of comments below > > > > Thanks a lot for your quick reply! > > > >> 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : > >> > [...] > >> > >> I can unde

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi > Xwayland should probably use a private protocol, like EGL, ideally > completely hidden and pid-restricted. That's the point, I initially thought of a private protocol, but then realized it could be useful outside of the Xwayland use case as well. If not, I'd be happy to drop this patch and

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Quentin Glidic
On 30/08/2016 12:18, Giulio Camuffo wrote: Hi, i have a couple of comments below 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : >> [snip] + + This protocol specifies a way for a client to request all keyboard + events to be forwarded to a surface. + + A possible use case f

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
2016-08-30 13:58 GMT+02:00 Olivier Fourdan : > Hi Giulio, > >> i have a couple of comments below > > Thanks a lot for your quick reply! > >> 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : >> > [...] >> >> I can understand the Xwayland use, but not the VM one. If i'm using a >> VM i expect it to recei

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi Giulio, > i have a couple of comments below Thanks a lot for your quick reply! > 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : > > [...] > > I can understand the Xwayland use, but not the VM one. If i'm using a > VM i expect it to receive key events when focused, not otherwise. If > the poin

Re: [PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Giulio Camuffo
Hi, i have a couple of comments below 2016-08-30 11:54 GMT+02:00 Olivier Fourdan : > This patch introduces a new protocol for grabbing a keyboard. > > Signed-off-by: Olivier Fourdan > --- > Makefile.am| 1 + > configure.ac

[RFC PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
Hi all, I think we need a way for client to request a keyboard grab in Wayland. Use case for this can be a virtual machine or remote connection viewer, or even Xwayland itself who cannot tell the compositor when an X client issues a XGrabKeyboard [1] I would like to keep this protocol as simple

[PATCH] Introduce keyboard grabbing protocol

2016-08-30 Thread Olivier Fourdan
This patch introduces a new protocol for grabbing a keyboard. Signed-off-by: Olivier Fourdan --- Makefile.am| 1 + configure.ac | 2 +- unstable/keyboard-grab/README | 4 + .../keyboard-grab/