[PATCH] tests: add button test

2012-09-26 Thread U. Artie Eoff
From: "U. Artie Eoff" Signed-off-by: U. Artie Eoff --- tests/Makefile.am | 4 +- tests/button-test.c | 136 tests/test-client.c | 18 ++- 3 files changed, 156 insertions(+), 2 deletions(-) create mode 100644 tests/button-test.c dif

Re: [PATCH web] Remove obsolete build flag for drm

2012-09-26 Thread Kristian Høgsberg
On Wed, Sep 26, 2012 at 06:19:13PM +0300, Pekka Vuorela wrote: > --enable-nouveau-experimental-api been long gone. Oops, true. Thanks. Kristian > --- > building.html |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/building.html b/building.html > index b5884a7..e8e1

Re: [PATCH wayland] man: fix compilation without xsltproc

2012-09-26 Thread Kristian Høgsberg
On Wed, Sep 26, 2012 at 04:41:50PM +0200, David Herrmann wrote: > We really shouldn't add the man-pages when HAVE_XSLTPROC is not true so > move it into the if-clause. > But declare the automake-variables outside of the if-clause to avoid > automake complaints. Thanks, committed. Kristian > Sign

Re: [PATCH weston] compositor: Load shell plugin after option modules

2012-09-26 Thread Kristian Høgsberg
On Wed, Sep 26, 2012 at 04:24:56PM +0300, Tiago Vignatti wrote: > On 09/25/2012 06:19 PM, Kristian Høgsberg wrote: > >On Tue, Sep 25, 2012 at 05:54:40PM +0300, Tiago Vignatti wrote: > >> > >>BTW (a bit related with this) to solve part of the Bug 53679, the > >>way we're using socketpair_cloexec to

Re: [PATCH v3] shell: Fix crash when an input panel is hiding

2012-09-26 Thread Kristian Høgsberg
On Wed, Sep 26, 2012 at 02:39:45PM +0200, Jan Arne Petersen wrote: > From: Jan Arne Petersen > > Set the geometry.dirty on the input panel surface before calling > weston_surface_update_transform, so that the surface gets an output > assigned. Ah, that looks like the right fix. I think we shoul

Re: [PATCH weston] Require mouse release on top of frame button to trigger action

2012-09-26 Thread Kristian Høgsberg
On Wed, Sep 26, 2012 at 03:05:45PM +0300, Pekka Vuorela wrote: > As common UI convention, allows action to be avoided by dragging > outside the button after mouse press. That works better, thanks. Kristian > --- > clients/window.c | 32 > 1 file changed, 32 in

[PATCH web] Remove obsolete build flag for drm

2012-09-26 Thread Pekka Vuorela
--enable-nouveau-experimental-api been long gone. --- building.html |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building.html b/building.html index b5884a7..e8e1e39 100644 --- a/building.html +++ b/building.html @@ -78,7 +78,7 @@ dependencies are development packages of

[PATCH wayland] man: fix compilation without xsltproc

2012-09-26 Thread David Herrmann
We really shouldn't add the man-pages when HAVE_XSLTPROC is not true so move it into the if-clause. But declare the automake-variables outside of the if-clause to avoid automake complaints. Signed-off-by: David Herrmann --- doc/man/Makefile.am | 14 +- 1 file changed, 9 insertions(+)

Re: [PATCH weston] compositor: Load shell plugin after option modules

2012-09-26 Thread Tiago Vignatti
On 09/25/2012 06:19 PM, Kristian Høgsberg wrote: On Tue, Sep 25, 2012 at 05:54:40PM +0300, Tiago Vignatti wrote: BTW (a bit related with this) to solve part of the Bug 53679, the way we're using socketpair_cloexec to create the client socket and later get its credentials in wl_client_create is

[PATCH v3] shell: Fix crash when an input panel is hiding

2012-09-26 Thread Jan Arne Petersen
From: Jan Arne Petersen Set the geometry.dirty on the input panel surface before calling weston_surface_update_transform, so that the surface gets an output assigned. --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index 2afa1b3..e2715d6 100644 --- a

[PATCH weston] Require mouse release on top of frame button to trigger action

2012-09-26 Thread Pekka Vuorela
As common UI convention, allows action to be avoided by dragging outside the button after mouse press. --- clients/window.c | 32 1 file changed, 32 insertions(+) diff --git a/clients/window.c b/clients/window.c index c5bccdc..f3b61de 100644 --- a/clients/window