[PATCH RFC xserver] xwayland: Add grab protocol support

2017-06-02 Thread Olivier Fourdan
Signed-off-by: Olivier Fourdan --- configure.ac | 2 +- hw/xwayland/Makefile.am | 7 ++- hw/xwayland/xwayland-input.c | 102 +++ hw/xwayland/xwayland.c | 2 +- hw/xwayland/xwayland.h | 5 ++- 5 files changed, 114 ins

[PATCH wayland-protocols v5 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-06-02 Thread Olivier Fourdan
This patch introduces a new protocol for grabbing the keyboard from Xwayland. This is needed for X11 applications that map an override redirect window (thus not focused by the window manager) and issue an active grab on the keyboard to capture all keyboard events. Signed-off-by: Olivier Fourdan

[PATCH wayland-protocols v5 2/2] Add keyboard shortcuts inhibitor

2017-06-02 Thread Olivier Fourdan
This adds a new protocol to let Wayland clients specify that they want all keyboard events to be sent to the client, regardless of the compositor own shortcuts. This protocol can be used for virtual machine and remote connection viewers which require to pass all keyboard shortcuts to the hosted or

[PATCH wayland-protocols v5 0/2] xwayland keyboard grad and shortcut inhibitor v5

2017-06-02 Thread Olivier Fourdan
This is v5 on the two wayland protocol proposals for Xwayland keyboard grab and shortcut inhibitor for Wayland native clients. Not much change since v4, mostly rename xwayland interface as "zwp_xwayland_keyboard_grab_manager_v1" and the request name as "zwp_xwayland_keyboard_grab_v1" These two p

RE: [PATCH wayland-protocols 00/11] Declaring xdg-shell stable

2017-06-02 Thread David Edmundson
I have some comments/questions on the current v6 interface which I'd like clarifying before we make it stable. The Positioner anchor and gravity both takes the edge as a bitfield of flags. It's then part of the protocol to say "If two parallel anchor edges are specified (e.g. 'left' and 'right'),