[PATCH] Check for calloc() failure in add_master()

2014-01-24 Thread Alan Coopersmith
Reported-by: Ilja Van Sprundel Signed-off-by: Alan Coopersmith --- Xi/xichangehierarchy.c |4 1 file changed, 4 insertions(+) diff --git a/Xi/xichangehierarchy.c b/Xi/xichangehierarchy.c index e2f4b8a..9e36354 100644 --- a/Xi/xichangehierarchy.c +++ b/Xi/xichangehierarchy.c @@ -143,6 +

[PATCH] config: show default path in help for --with-xkb-bin-directory

2014-01-24 Thread Alan Coopersmith
Now shows: --with-xkb-bin-directory=DIR Directory containing xkbcomp program (default: ${bindir}) Signed-off-by: Alan Coopersmith --- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure

Re: [PATCH v2] Xi: fix modifier offset in XIPassiveGrab swapping function

2014-01-24 Thread Daniel Stone
Hi, On 24 January 2014 23:14, Peter Hutterer wrote: > On 25/01/2014 08:48 , Alan Coopersmith wrote: >> >> On 01/24/14 12:05 AM, Peter Hutterer wrote: >>> >>> The request is followed by mask_len 4-byte units, then followed by the >>> actual >>> modifiers. >>> >>> Also fix up the swapping test, whi

Re: [PATCH v2] Xi: fix modifier offset in XIPassiveGrab swapping function

2014-01-24 Thread Peter Hutterer
On 25/01/2014 08:48 , Alan Coopersmith wrote: On 01/24/14 12:05 AM, Peter Hutterer wrote: The request is followed by mask_len 4-byte units, then followed by the actual modifiers. Also fix up the swapping test, which had the same issue. Reported-by: Alan Coopersmith Signed-off-by: Peter Hutter

Re: [PATCH v2] Xi: fix modifier offset in XIPassiveGrab swapping function

2014-01-24 Thread Alan Coopersmith
On 01/24/14 12:05 AM, Peter Hutterer wrote: The request is followed by mask_len 4-byte units, then followed by the actual modifiers. Also fix up the swapping test, which had the same issue. Reported-by: Alan Coopersmith Signed-off-by: Peter Hutterer --- Changes to v1: - turns out the swapping

[PATCH rendercheck] Print format of dst picture in a failed test

2014-01-24 Thread Connor Behan
Rendercheck already prints the intended destination when it tries the tests. To actually know which test failed the user needs to know the color format of whatever picture was being tried. Signed-off-by: Connor Behan --- t_blend.c | 2 +- t_composite.c | 2 +- 2 files changed, 2 insertions(+

Re: What use do swap interval > 1 and OML_sync_control divisor and remainder have?

2014-01-24 Thread Jason Ekstrand
I'll just chip in one quick thought. On Jan 24, 2014 6:32 AM, "Pekka Paalanen" wrote: > > Hi, > > I am investigating what kind of Wayland protocol extensions would be > needed to support proper presentation timing. Looking at existing > works, I am wondering about two things whether they have any

[PATCH] glamor: Disable definitions of GL extension prototypes to avoid warnings.

2014-01-24 Thread Eric Anholt
We're not using the extension prototypes, since you have to dlsym them anyway. Disabling their definitions prevents them from being defined twice (once by gl.h, once by glext.h). Signed-off-by: Eric Anholt --- I was about to send the pull req for the glamor reformat and initial build work, but

What use do swap interval > 1 and OML_sync_control divisor and remainder have?

2014-01-24 Thread Pekka Paalanen
Hi, I am investigating what kind of Wayland protocol extensions would be needed to support proper presentation timing. Looking at existing works, I am wondering about two things whether they have any real use. Where is swap interval (e.g. eglSwapInterval) greater than one useful? Intervals 0 and

[PATCH v2] Xi: fix modifier offset in XIPassiveGrab swapping function

2014-01-24 Thread Peter Hutterer
The request is followed by mask_len 4-byte units, then followed by the actual modifiers. Also fix up the swapping test, which had the same issue. Reported-by: Alan Coopersmith Signed-off-by: Peter Hutterer --- Changes to v1: - turns out the swapping test has the same bug, which explains why it