Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2015-04-21 Thread Pekka Paalanen
On Tue, 21 Apr 2015 16:32:40 + Jeroen Bollen wrote: > I think I have thought out a solution. > > The scanner should be able to parse multiple specification files. There > would be the default wayland.xml, and for example a gnome.xml, which is an > extension to the wayland.xml. It does only c

Re: [PATCH 5/6] compositor-drm: Fix refresh rate selection in drm_output_switch_mode

2015-04-21 Thread Mario Kleiner
On 04/16/2015 07:14 PM, Derek Foreman wrote: On 02/04/15 12:10 AM, Mario Kleiner wrote: The matching logic in choose_mode() compared refresh rate of a drm_mode candidate mode expressed in Hz against the requested refresh rate of the target weston_mode expressed in milliHz, so the match always fa

Re: [PATCH 4/6] compositor-drm/shell: Allow restore_output_mode() to work properly.

2015-04-21 Thread Mario Kleiner
On 04/16/2015 06:43 PM, Derek Foreman wrote: On 02/04/15 12:10 AM, Mario Kleiner wrote: Initialize output->native_mode with the initially chosen mode for an output, so restore_output_mode() has something to work with and can switch back from temporary selected modes to the outputs native mode. B

Re: Wayland Relative Pointer API Progress

2015-04-21 Thread x414e54
On Wed, Apr 22, 2015 at 10:05 AM, Bill Spitzak wrote: > If a client opens a device, will that interfere with wayland's reading of > the device? For instance if the client opens the mouse, will wayland still > get the mouse position such that it can revoke access when the cursor moves > out of the

Re: Wayland Relative Pointer API Progress

2015-04-21 Thread Bill Spitzak
Interesting. It does seem like a good idea to do remote by providing identical device api's. This probably applies to sound output too. There will have to be simple and obvious methods to figure out the remote machine so that all other devices besides the display go to the same one, and there w

Re: Wayland Relative Pointer API Progress

2015-04-21 Thread Peter Hutterer
On Sun, Apr 19, 2015 at 12:45:09PM +0100, Steven Newbury wrote: > On Sun, 2015-04-19 at 15:29 +0900, x414e54 wrote: > > > > > > The way todo this seems to be for the compositor and client to > > negotiate an event type they both can understand such as > > libinput_event or hid events and then a

[ANNOUNCE] libinput 0.14.1

2015-04-21 Thread Peter Hutterer
A new release of libinput, 0.14.1, is now available. This is a brown paper bag release, 0.14.0 failed distcheck. Oops. Only one single patch to include the new man page for libinput-list-devices in the tarball, the rest is identical. For a full list of changes between 0.13 and 0.14 please see: ht

[ANNOUNCE] libinput 0.14.0

2015-04-21 Thread Peter Hutterer
A new release of libinput, 0.14.0, is now available. libinput now provides middle button emulation for physical buttons and, for some devices, a configuration interface to enable said emulation. The API is the usual quartett of configuration queries: libinput_device_config_middle_emulatio

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2015-04-21 Thread Jeroen Bollen
I think I have thought out a solution. The scanner should be able to parse multiple specification files. There would be the default wayland.xml, and for example a gnome.xml, which is an extension to the wayland.xml. It does only contain things like added interfaces, added requests, added events an

Re: Weird dispatch ordering of display events

2015-04-21 Thread Alexander Larsson
On tis, 2015-04-21 at 14:23 +0300, Pekka Paalanen wrote: > On Tue, 21 Apr 2015 11:17:17 +0200 > Alexander Larsson wrote: > > > I just spent some time debugging the wrong thing due to a weird change > > in wayland 1.5. A new queue was introduced for the display itself, > > handling things like del

Re: Weird dispatch ordering of display events

2015-04-21 Thread Pekka Paalanen
On Tue, 21 Apr 2015 11:17:17 +0200 Alexander Larsson wrote: > I just spent some time debugging the wrong thing due to a weird change > in wayland 1.5. A new queue was introduced for the display itself, > handling things like delete_id. This queue is always dispatched, > independent of what other

Weird dispatch ordering of display events

2015-04-21 Thread Alexander Larsson
I just spent some time debugging the wrong thing due to a weird change in wayland 1.5. A new queue was introduced for the display itself, handling things like delete_id. This queue is always dispatched, independent of what other queues are dispatched. However, it is always dispatched *before* the

Re: [PATCH libinput 1.5/5] tools: add --set-scroll-button as option

2015-04-21 Thread Hans de Goede
Hi, On 21-04-15 10:30, Peter Hutterer wrote: Signed-off-by: Peter Hutterer --- Sorry, should've been part of 1/5, I only just noticed that enabling button scrolling isn't overly useful without setting the button too. Looks good: Reviewed-by: Hans de Goede Regards, Hans tools/Makefile.

[PATCH libinput 1.5/5] tools: add --set-scroll-button as option

2015-04-21 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- Sorry, should've been part of 1/5, I only just noticed that enabling button scrolling isn't overly useful without setting the button too. tools/Makefile.am | 2 ++ tools/shared.c| 24 tools/shared.h| 1 + 3 files changed, 27 in

Re: Daily builds of wayland+weston (Ubuntu)

2015-04-21 Thread Bryce Harrington
On Tue, Apr 21, 2015 at 10:27:24AM +0300, Pekka Paalanen wrote: > On Mon, 20 Apr 2015 17:46:59 -0700 > Bryce Harrington wrote: > > > I've set up automatic builds of git snapshots of wayland, libinput, and > > weston via Canonical's "recipe" PPA system: > > > > https://launchpad.net/~wayland.ad

Re: Daily builds of wayland+weston (Ubuntu)

2015-04-21 Thread Pekka Paalanen
On Mon, 20 Apr 2015 17:46:59 -0700 Bryce Harrington wrote: > I've set up automatic builds of git snapshots of wayland, libinput, and > weston via Canonical's "recipe" PPA system: > > https://launchpad.net/~wayland.admin/+archive/ubuntu/daily-builds > > Builds are done once a day, if there are

Re: [PATCH wayland] Add "enum" attribute to "arg" elements

2015-04-21 Thread Pekka Paalanen
On Mon, 20 Apr 2015 15:54:59 + Jeroen Bollen wrote: > On Mon, 20 Apr 2015 at 09:03 Pekka Paalanen wrote: > > > > Also, adding the strict type information to the XML spec has no benefit > > for C, which is the de facto language for Wayland core developers. A C > > compiler also does not raise

Re: [PATCH libinput 1/5] tools: add --set-scroll-method commandline flag

2015-04-21 Thread Hans de Goede
Hi, Series looks good and is: Reviewed-by: Hans de Goede Regards, Hans On 21-04-15 07:28, Peter Hutterer wrote: Signed-off-by: Peter Hutterer --- tools/shared.c | 29 + tools/shared.h | 1 + 2 files changed, 30 insertions(+) diff --git a/tools/shared.c b/