Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 04:55:44PM +1000, Peter Hutterer wrote: > On Tue, Jan 27, 2015 at 01:49:30PM +0800, Jonas Ådahl wrote: > > On Tue, Jan 27, 2015 at 02:22:02PM +1000, Peter Hutterer wrote: > > > On Tue, Jan 27, 2015 at 10:55:50AM +0800, Jonas Ådahl wrote: > > > > On Tue, Jan 27, 2015 at 12:15

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Peter Hutterer
On Tue, Jan 27, 2015 at 01:49:30PM +0800, Jonas Ådahl wrote: > On Tue, Jan 27, 2015 at 02:22:02PM +1000, Peter Hutterer wrote: > > On Tue, Jan 27, 2015 at 10:55:50AM +0800, Jonas Ådahl wrote: > > > On Tue, Jan 27, 2015 at 12:15:49PM +1000, Peter Hutterer wrote: > > > > On Fri, Jan 23, 2015 at 12:20

Re: [PATCH libinput 3/3] Deprecate libinput_device_has_capability

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 03:45:58PM +1000, Peter Hutterer wrote: > With the introduction of capability events, this is theoretically racy. > > In the current implementation that's fine as we add the capabilities before we > return the device, but in the future a capability event may be in the event

Re: [PATCH libinput 2/3] Restore capability events

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 03:45:57PM +1000, Peter Hutterer wrote: > This reverts commit ab9260c5c70b95779f39069b31646ff5cf8970ad, with a bunch of > changes on top. > > First change is different naming, the events are now DEVICE_CAPABILITY_ADDED > and DEVICE_CAPABILITY_REMOVED for consistency with th

Re: [PATCH libinput 1/3] test: add litest_drain_typed_events

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 03:45:56PM +1000, Peter Hutterer wrote: > For the case where we don't care about a specific set of events in the queue > and want to jump over them. > > Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl > --- > test/litest.c | 45 ++

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 02:22:02PM +1000, Peter Hutterer wrote: > On Tue, Jan 27, 2015 at 10:55:50AM +0800, Jonas Ådahl wrote: > > On Tue, Jan 27, 2015 at 12:15:49PM +1000, Peter Hutterer wrote: > > > On Fri, Jan 23, 2015 at 12:20:55PM +0100, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 23-

[PATCH libinput 3/3] Deprecate libinput_device_has_capability

2015-01-26 Thread Peter Hutterer
With the introduction of capability events, this is theoretically racy. In the current implementation that's fine as we add the capabilities before we return the device, but in the future a capability event may be in the event queue to add/remove a capability, so this call is unreliable. Signed-o

[PATCH libinput 2/3] Restore capability events

2015-01-26 Thread Peter Hutterer
This reverts commit ab9260c5c70b95779f39069b31646ff5cf8970ad, with a bunch of changes on top. First change is different naming, the events are now DEVICE_CAPABILITY_ADDED and DEVICE_CAPABILITY_REMOVED for consistency with the device events. The behaviour of capability events is as previously, the

[PATCH libinput 1/3] test: add litest_drain_typed_events

2015-01-26 Thread Peter Hutterer
For the case where we don't care about a specific set of events in the queue and want to jump over them. Signed-off-by: Peter Hutterer --- test/litest.c | 45 + test/litest.h | 2 ++ 2 files changed, 47 insertions(+) diff --git a/test/litest.c b/test

[PATCH libinput 0/3] Restore capability events

2015-01-26 Thread Peter Hutterer
Short summary: we had capability events in libinput which worked essentially like wayland's capability events. They were kicked out (by me) because by the time we get a device from the kernel it is static and won't change anymore. So capabilities make sense on the protocol where pointers may get a

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Peter Hutterer
On Tue, Jan 27, 2015 at 10:55:50AM +0800, Jonas Ådahl wrote: > On Tue, Jan 27, 2015 at 12:15:49PM +1000, Peter Hutterer wrote: > > On Fri, Jan 23, 2015 at 12:20:55PM +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 23-01-15 09:51, Jonas Ådahl wrote: > > > >On Fri, Jan 23, 2015 at 09:38:06AM +0

Re: 2015 Elections to the X.Org Board of Directors and Approval to Changes of the X.Org By Laws

2015-01-26 Thread Kenneth Graunke
On Monday, January 26, 2015 09:09:40 AM Egbert Eich wrote: [snip] > == > | PLEASE NOTE: > | The memberships of all X.Org Members have been expired! > | To participate in this election you MUST renew your membership > | by the d

Re: [PATCH weston] text-input: Replace model with input

2015-01-26 Thread Bryce Harrington
On Mon, Jan 12, 2015 at 10:34:26AM -0600, Derek Foreman wrote: > commit 78d00e45cc renamed text_model to text_input > > This cleans up remaining uses of the word "model" > > Signed-off-by: Derek Foreman > --- > > Please note that this applies on top of my earlier "test-input fix-ups" > patch se

Re: [PATCH 2/2] libinput: Check if axis value is available in debugging GUI

2015-01-26 Thread Peter Hutterer
On Fri, Jan 23, 2015 at 10:31:05PM +0100, c...@schoeller.se wrote: > From: Friedrich Schöller > > libinput complained with lots of "client bug" messages because the GUI tool > did not check which axis values were available. > > Signed-off-by: Friedrich Schöller both pushed, thanks. with minor

[PATCH wayland v4] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-01-26 Thread Bryce Harrington
This fixes a regression in the testsuite since c3653f7f, where four of the timeout tests fail with "Timeouts suppressed" messages. The timeouts are being suppressed because the testsuite is erroneously detecting that a debugger is attached. This detection mechanism (adopted from libinput) uses pt

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Jonas Ådahl
On Tue, Jan 27, 2015 at 12:15:49PM +1000, Peter Hutterer wrote: > On Fri, Jan 23, 2015 at 12:20:55PM +0100, Hans de Goede wrote: > > Hi, > > > > On 23-01-15 09:51, Jonas Ådahl wrote: > > >On Fri, Jan 23, 2015 at 09:38:06AM +0100, Hans de Goede wrote: > > >>Hi, > > >> > > >>On 23-01-15 07:18, Jonas

Re: [PATCH weston v2] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Jonas Ådahl
Oops, this should have been in-reply-to 2/3, not 1/3, sorry. Jonas On Tue, Jan 27, 2015 at 10:47:29AM +0800, Jonas Ådahl wrote: > Warn and fail when assert to create sub surfaces when swap interval 0 is > not supported by the EGL platform. > > Programs wanting to add subsurfaces need to check w

[PATCH weston v2] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Jonas Ådahl
Warn and fail when assert to create sub surfaces when swap interval 0 is not supported by the EGL platform. Programs wanting to add subsurfaces need to check whether it is subsurfaces are supported by the display with the new display_is_subsurfaces_supported() function. Signed-off-by: Jonas Ådahl

Re: [PATCH weston 2/3] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Jonas Ådahl
On Mon, Jan 26, 2015 at 02:27:51PM -0600, Derek Foreman wrote: > On 26/01/15 04:19 AM, Jonas Ådahl wrote: > > Warn and fail when trying to create sub surfaces when swap interval 0 is > > not supported by the EGL platform. > > > > Signed-off-by: Jonas Ådahl > > --- > > clients/nested.c | 1

Re: [RFC libinput] Add an API for touchpad gesture events

2015-01-26 Thread Peter Hutterer
On Fri, Jan 23, 2015 at 12:20:55PM +0100, Hans de Goede wrote: > Hi, > > On 23-01-15 09:51, Jonas Ådahl wrote: > >On Fri, Jan 23, 2015 at 09:38:06AM +0100, Hans de Goede wrote: > >>Hi, > >> > >>On 23-01-15 07:18, Jonas Ådahl wrote: > > > > As for 2 finger swipe at least: isn't that covered

Re: [PATCH 3/3] doc: Put a dash between type/enum value and description

2015-01-26 Thread Bryce Harrington
On Fri, Jan 23, 2015 at 05:41:08PM -0800, Bill Spitzak wrote: > This was suggested by Derek Foreman, I think it looks better Thanks, applied the set, with my review. 71c37eb..284da98 master -> master > --- > doc/publican/protocol-to-docbook.xsl | 10 +- > 1 file changed, 5 insert

Re: [PATCH weston 2/3] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Derek Foreman
On 26/01/15 04:19 AM, Jonas Ådahl wrote: > Warn and fail when trying to create sub surfaces when swap interval 0 is > not supported by the EGL platform. > > Signed-off-by: Jonas Ådahl > --- > clients/nested.c | 1 + > clients/subsurfaces.c | 2 ++ > clients/window.c | 19

Re: [PATCH weston 3/3] clients: Remove stray new-line

2015-01-26 Thread Bryce Harrington
On Mon, Jan 26, 2015 at 06:19:07PM +0800, Jonas Ådahl wrote: > Signed-off-by: Jonas Ådahl > --- > clients/subsurfaces.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c > index e0a5010..438b992 100644 > --- a/clients/subsurf

Re: [PATCH v2 wayland] cosmetic: Move the deprecated functions back to the end of the file

2015-01-26 Thread Bryce Harrington
On Sat, Jan 24, 2015 at 09:24:23AM -0600, Derek Foreman wrote: > There are functions below the "Deprecated functions below" comment > that are not deprecated. > > Move the deprecated functions back down, and add a comment at the > end of the file to try to keep this from happening again. > > Sign

Re: [PATCH weston v2] xwm: don't set inactive surfaces as top level

2015-01-26 Thread Bryce Harrington
On Sat, Jan 24, 2015 at 05:54:21PM +0200, Giulio Camuffo wrote: > Some X clients create popup or tooltips windows as top level, without > setting them as override redirect or as transient. Since we don't want > to take the focus away from a surface when one of its popup is opened, > check the _NET_

Re: [PATCH weston 2/3] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Bill Spitzak
On 01/26/2015 02:19 AM, Jonas Ådahl wrote: + if (EGL_FALSE == eglGetConfigAttrib(window->display->dpy, + window->display->argb_config, + EGL_MIN_SWAP_INTERVAL, + &m

Re: Error making docs for libinput

2015-01-26 Thread Bill Spitzak
On 01/24/2015 09:26 PM, Bill Spitzak wrote: Okay it seems to work with a modern version of graphviz. On Monday I will check what version I have that is not working (I am not at that machine now). Don't know if you want to go through the trouble of requiring a recent enough version. The working

[PATCH weston 3/3] clients: Remove stray new-line

2015-01-26 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- clients/subsurfaces.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c index e0a5010..438b992 100644 --- a/clients/subsurfaces.c +++ b/clients/subsurfaces.c @@ -256,8 +256,7 @@ egl_make_swapbuffers_n

[PATCH weston 1/3] clients: Drop deadlock circumvention hack now that we don't need it

2015-01-26 Thread Jonas Ådahl
mesa supports EGLSwapInterval 0 now, so lets remove this hack. As a bonus we don't conflict with the XDG shell protocol that doesn't allow committing a null-buffer, which was a side effect of this hack. Signed-off-by: Jonas Ådahl --- clients/window.c | 32 1 file

[PATCH weston 2/3] clients: Require EGL_MIN_SWAP_INTERVAL to be 0 for subsurfaces

2015-01-26 Thread Jonas Ådahl
Warn and fail when trying to create sub surfaces when swap interval 0 is not supported by the EGL platform. Signed-off-by: Jonas Ådahl --- clients/nested.c | 1 + clients/subsurfaces.c | 2 ++ clients/window.c | 19 +++ 3 files changed, 22 insertions(+) diff --git a/

2015 Elections to the X.Org Board of Directors and Approval to Changes of the X.Org By Laws

2015-01-26 Thread Egbert Eich
The X.Org Foundation is holding elections for - The Board of Directors - Adoption of changes to the By Laws. Election Schedule = Q&A Session for the By Law changes start:Jan 26 Nomination period Start: Jan 26 00:00 UTC Nomination period End: Feb 15 23:59 UTC