Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-03 Thread Emilio Pozuelo Monfort
On 03/02/14 20:00, Pekka Paalanen wrote: > On Mon, 3 Feb 2014 16:57:27 +0100 > poch...@gmail.com wrote: > >> From: Emilio Pozuelo Monfort >> >> The input initialization code assumes the outputs have already >> been initialized; thus create the outputs first. This fixes a >> segfault upon startup

Re: [PATCH weston] Fullscreen surfaces

2014-02-03 Thread Emilio Pozuelo Monfort
On 03/02/14 17:14, Emilio Pozuelo Monfort wrote: > Hi Bill, > > On 30/01/14 23:33, Bill Spitzak wrote: >> There really should not be a "fullscreen layer" which is what is causing this >> problem. "layers" are imho a mistake except for the desttop and the mouse >> cursor. >> >> What I think needs

[PATCH] README: Fix typo; add link to testing docs

2014-02-03 Thread Bryce W. Harrington
Signed-off-by: Bryce Harrington --- README |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index b3be4c9..3821e5d 100644 --- a/README +++ b/README @@ -11,5 +11,8 @@ shell. Finally, weston also provides integration with the Xorg server and can pull X

[PATCH libinput 3/4] path: unify the error handling code with a goto

2014-02-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/path.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/src/path.c b/src/path.c index 29d722b..7a00c0b 100644 --- a/src/path.c +++ b/src/path.c @@ -120,9 +120,11 @@ path_input_enable(struct libinput *libinput

[PATCH libinput 1/4] test: plug a memory leak, all events need to be destroyed

2014-02-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/path.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/path.c b/test/path.c index 24f647f..ec5d03d 100644 --- a/test/path.c +++ b/test/path.c @@ -214,6 +214,8 @@ START_TEST(path_device_sysname) ck_assert(sysname != NULL && strlen(s

[PATCH libinput 4/4] path: add error handling for failing to create a seat

2014-02-03 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/path.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/path.c b/src/path.c index 7a00c0b..a2878f9 100644 --- a/src/path.c +++ b/src/path.c @@ -144,6 +144,11 @@ path_input_enable(struct libinput *libinput) seat = path_seat_create(input,

[PATCH libinput 2/4] Move closing the device fd into evdev.c

2014-02-03 Thread Peter Hutterer
evdev_device_remove() already calls close(device->fd). Move the close_restricted call there to avoid one privileged call in the backend and one in the device. Signed-off-by: Peter Hutterer --- src/evdev.c | 2 +- src/path.c | 1 - src/udev-seat.c | 3 --- 3 files changed, 1 insertion(+)

Re: [PATCH weston] Fullscreen surfaces

2014-02-03 Thread Bill Spitzak
Emilio Pozuelo Monfort wrote: Hi Bill, On 30/01/14 23:33, Bill Spitzak wrote: There really should not be a "fullscreen layer" which is what is causing this problem. "layers" are imho a mistake except for the desttop and the mouse cursor. What I think needs to happen: Fullscreen, normal win

Re: [PATCH weston] build: Fix build when Wayland headers are not in standard prefix

2014-02-03 Thread Bryce W. Harrington
On Mon, Feb 03, 2014 at 05:55:39PM +0200, Ander Conselvan de Oliveira wrote: > The move to a single Makefile.am missed to set a few _CFLAGS variables, > causing the build to fail if the Wayland headers are not installed in > the standard prefix. Looks like Pekka caught these already with commits 5

Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-03 Thread Pekka Paalanen
On Mon, 3 Feb 2014 16:57:27 +0100 poch...@gmail.com wrote: > From: Emilio Pozuelo Monfort > > The input initialization code assumes the outputs have already > been initialized; thus create the outputs first. This fixes a > segfault upon startup. It is also what the drm and fbdev backends > do.

Re: [PATCH weston 1/2] build: pass client flags to test programs

2014-02-03 Thread Kristian Høgsberg
On Mon, Feb 03, 2014 at 01:12:33PM +0200, ppaala...@gmail.com wrote: > From: Pekka Paalanen > > Fix build failures of the kind: > > CC tests/bad-buffer-test.o > In file included from tests/weston-test-client-helper.h:28:0, > from tests/bad-buffer-test.c:28: > ./protocol/

Re: [PATCH weston] Fullscreen surfaces

2014-02-03 Thread Emilio Pozuelo Monfort
Hi Bill, On 30/01/14 23:33, Bill Spitzak wrote: > There really should not be a "fullscreen layer" which is what is causing this > problem. "layers" are imho a mistake except for the desttop and the mouse > cursor. > > What I think needs to happen: > > Fullscreen, normal windows, and "panels" ca

[PATCH weston 2/2] build: fix weston-info CFLAGS

2014-02-03 Thread ppaalanen
From: Pekka Paalanen CC clients/weston-info.o clients/weston-info.c:31:28: fatal error: wayland-client.h: No such file or directory compilation terminated. make[1]: *** [clients/weston-info.o] Error 1 Only triggerable if libwayland is only in a custom prefix. Fix by adding CLIENT_CFLAG

[PATCH weston 1/2] build: pass client flags to test programs

2014-02-03 Thread ppaalanen
From: Pekka Paalanen Fix build failures of the kind: CC tests/bad-buffer-test.o In file included from tests/weston-test-client-helper.h:28:0, from tests/bad-buffer-test.c:28: ./protocol/wayland-test-client-protocol.h:35:28: fatal error: wayland-client.h: No such file or

[PATCH weston] compositor-rpi: Fix input initialization

2014-02-03 Thread pochu27
From: Emilio Pozuelo Monfort The input initialization code assumes the outputs have already been initialized; thus create the outputs first. This fixes a segfault upon startup. It is also what the drm and fbdev backends do. --- src/compositor-rpi.c | 19 --- 1 file changed, 8 ins

Re: [PATCH weston] input: Empty the current input region when configuring pointer surfaces

2014-02-03 Thread Ander Conselvan de Oliveira
On 02/01/2014 10:00 AM, Pekka Paalanen wrote: On Fri, 31 Jan 2014 16:07:51 +0200 Ander Conselvan de Oliveira wrote: The input region of the cursor surface is set to empty in pointer_cursor_surface_configure(). Since during the commit process this function is called before the pending input reg

[PATCH weston] build: Fix build when Wayland headers are not in standard prefix

2014-02-03 Thread Ander Conselvan de Oliveira
The move to a single Makefile.am missed to set a few _CFLAGS variables, causing the build to fail if the Wayland headers are not installed in the standard prefix. --- Makefile.am | 8 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 753ff83..06d2434 100644 ---

Re: weston-1.4.0: rpi-backend is broken

2014-02-03 Thread Emilio Pozuelo Monfort
On 28/01/14 12:00, Pekka Paalanen wrote: > On Tue, 28 Jan 2014 00:49:06 +0100 > "Yann E. MORIN" wrote: > >> Pekka, All, >> >> On 2014-01-26 21:15 +0100, Yann E. MORIN spake thusly: >>> On 2014-01-26 21:51 +0200, Pekka Paalanen spake thusly: On Sun, 26 Jan 2014 19:08:47 +0100 "Yann E. MO

Re: [PATCH weston] input: Empty the current input region when configuring pointer surfaces

2014-02-03 Thread Pekka Paalanen
On Mon, 03 Feb 2014 16:16:29 +0200 Ander Conselvan de Oliveira wrote: > On 02/01/2014 10:00 AM, Pekka Paalanen wrote: > > On Fri, 31 Jan 2014 16:07:51 +0200 > > Ander Conselvan de Oliveira > > wrote: > > > >> The input region of the cursor surface is set to empty in > >> pointer_cursor_surface_c

Re: [Mesa-dev] What use do swap interval > 1 and OML_sync_control divisor and remainder have?

2014-02-03 Thread Stéphane Marchesin
On Fri, Jan 24, 2014 at 4: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 real use. > > Where is swap inte