Re: [PATCH 3/3] xwayland: Fix override redirect window positioning

2017-06-30 Thread Scott Moreau
On Sat, Jun 24, 2017 at 1:18 AM, Scott Moreau wrote: > When override redirect windows are created, the x/y offsets > provided at map time may be incorrect. The correct offsets are > sent in a configure event from the xserver some time later. > Here we fix the positions by delaying the call to set

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

2017-06-30 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 v6 1/2] Introduce keyboard grabbing protocol for Xwayland

2017-06-30 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

Re: [PATCH libinput] tools: add the libinput version to the man pages

2017-06-30 Thread Eric Engestrom
On Friday, 2017-06-30 16:21:39 +0100, Eric Engestrom wrote: > On Thursday, 2017-06-29 10:01:10 +1000, Peter Hutterer wrote: > > Signed-off-by: Peter Hutterer > > --- > > configure.ac | 1 + > > meson.build| 45 > > +++

Re: [PATCH libinput] tools: add the libinput version to the man pages

2017-06-30 Thread Eric Engestrom
On Thursday, 2017-06-29 10:01:10 +1000, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer > --- > configure.ac | 1 + > meson.build| 45 > +++--- > tools/Makefile.am

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

2017-06-30 Thread Olivier Fourdan
Hi Jonas, > > [...] > > + > > + > > + > > + The grab_keyboard request asks for a grab of the keyboard, > > + effectively reporting all key events to a surface. > > I can't seem to find where "grab" is defined. Normally in other Wayland > protocols, a "grab" means locking keyboard/po

Re: [RFC PATCH wayland-protocols] Introduce logical output protocol for Xwayland

2017-06-30 Thread Pekka Paalanen
On Fri, 30 Jun 2017 04:38:07 -0400 (EDT) Olivier Fourdan wrote: > Hi Jonas, > > > On Thu, Jun 29, 2017 at 04:44:34PM +0200, Olivier Fourdan wrote: > > > This introduces a new protocol for the compositor to describe outputs > > > size in a logical way for Xwayland. > > Adding it to wl_output m

[PATCH wayland] protocol: Add logical_size event to wl_output

2017-06-30 Thread Olivier Fourdan
With the introduction of fractional scaling in some compositors and due to existing discrepancies between compositors on the way Xwayland surfaces are scaled based on the wl_output scale, Xwayland and possibly other Wayland clients need a way to know the size of the outputs in the global compositor

Re: [RFC PATCH wayland-protocols] Introduce logical output protocol for Xwayland

2017-06-30 Thread Olivier Fourdan
Hi Jonas, > On Thu, Jun 29, 2017 at 04:44:34PM +0200, Olivier Fourdan wrote: > > This introduces a new protocol for the compositor to describe outputs > > size in a logical way for Xwayland. > > > > This is needed for X11 applications that would want to configure an X11 > > window based on the si

Re: [PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-30 Thread Jonas Ådahl
On Fri, Jun 30, 2017 at 09:56:57AM +0200, Philipp Kerling wrote: > Am Freitag, den 30.06.2017, 15:42 +0800 schrieb Jonas Ådahl: > > On Fri, Jun 30, 2017 at 08:48:58AM +0200, Philipp Kerling wrote: > > > Hi, > > > > > > Am Freitag, den 30.06.2017, 13:50 +0800 schrieb Jonas Ådahl: > > > > Rename the

Re: [PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-30 Thread Philipp Kerling
Am Freitag, den 30.06.2017, 15:42 +0800 schrieb Jonas Ådahl: > On Fri, Jun 30, 2017 at 08:48:58AM +0200, Philipp Kerling wrote: > > Hi, > > > > Am Freitag, den 30.06.2017, 13:50 +0800 schrieb Jonas Ådahl: > > > Rename the interfaces according to the wayland-protocols policy. > > > Since > > > the

Re: [PATCH wayland-protocols v2 02/13] xdg-shell: Rename interfaces

2017-06-30 Thread Jonas Ådahl
On Fri, Jun 30, 2017 at 08:48:58AM +0200, Philipp Kerling wrote: > Hi, > > Am Freitag, den 30.06.2017, 13:50 +0800 schrieb Jonas Ådahl: > > Rename the interfaces according to the wayland-protocols policy. > > Since > > the name 'xdg_shell' as an interface was already taken (by > > xdg-shell-unstab