[weston PATCH v8 2/2] add the test case for set_maximised

2012-02-07 Thread juan . j . zhao
From: Juan Zhao F8: set maximised F7: set toplevel to back --- clients/Makefile.am |6 +- clients/simple-rect.c | 647 + 2 files changed, 652 insertions(+), 1 deletions(-) create mode 100644 clients/simple-rect.c diff --git a/clients/Makef

[weston PATCH v8 1/2] add the set_maximised implementation

2012-02-07 Thread juan . j . zhao
From: Juan Zhao --- src/shell.c | 100 +++ 1 files changed, 100 insertions(+), 0 deletions(-) diff --git a/src/shell.c b/src/shell.c index 53b192c..ae66d3d 100644 --- a/src/shell.c +++ b/src/shell.c @@ -81,6 +81,7 @@ enum shell_surface_ty

[protocol PATCH v8] add set_maximised protocol

2012-02-07 Thread juan . j . zhao
From: Juan Zhao A request from the client to notify the compositor the maximised operation. The compositor will reply with a configure event telling the expected new surface size. The operation is completed on the next buffer attach to this surface. A maximised client will fill the fullscreen

[PATCH v8 0/3] set_maximised implemetation protocol + weston

2012-02-07 Thread juan . j . zhao
From: Juan Zhao v6:I rebase the set_maximised work at first. Because it is independed with fullscreen protocol. v7:update the protocol comments remove some unnecessary printf add output parameter, only the bound output can be set maximised to move the geometry calculation to map and con

Re: Embeding wingets like xembed GtkPlug / GtkSocket

2012-02-07 Thread Jannis Pohlmann
On Tue, 7 Feb 2012 21:19:07 +0100, Peter de Ridder wrote: > In Xfce we use the xembed protocol trough GtkPlug / GtkSocket. We > wonder if something similar would be possible with Wayland as well. If > it isn't possible yet would such a protocol be feasible. > We got some (wild) ideas which could

Re: [PATCH] terminal: run $SHELL if set

2012-02-07 Thread Kristian Høgsberg
On Fri, Feb 3, 2012 at 5:58 AM, Peter Hutterer wrote: > Signed-off-by: Peter Hutterer Nice, thanks. Kristian >  clients/terminal.c |    7 ++- >  1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/clients/terminal.c b/clients/terminal.c > index e5baa0e..2cb1e58 100644 > --- a

Re: [PATCH 1/1] configure: check for libpng

2012-02-07 Thread Kristian Høgsberg
On Tue, Feb 7, 2012 at 10:25 AM, Eugeni Dodonov wrote: > On Tue, Feb 7, 2012 at 13:14, Eugeni Dodonov > wrote: >> >> Add an explicit check for libpng to prevent: >> >> /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol >> 'png_get_valid@@PNG15_0' >> /usr/bin/ld: note: 'png_

[PATCH] configure.ac: fix cairo-glesv2 help text

2012-02-07 Thread Jesse Barnes
Finally figured out why --enable-cairo-gles2 wasn't working like configure --help said it should. --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 550bb3c..a2bb537 100644 --- a/configure.ac +++ b/configure.ac @@ -96,7 +96,

Embeding wingets like xembed GtkPlug / GtkSocket

2012-02-07 Thread Peter de Ridder
Hi, In Xfce we use the xembed protocol trough GtkPlug / GtkSocket. We wonder if something similar would be possible with Wayland as well. If it isn't possible yet would such a protocol be feasible. We got some (wild) ideas which could give similar results to xembed and wonder whether these are rea

Re: [weston PATCH v6 1/2] add implementation for set_maximised

2012-02-07 Thread Bill Spitzak
Pekka Paalanen wrote: No, they are not. All the transformation work is purely server internal and private. We could change to even more generic non-linear transformations at will, nothing about it is in the protocol. This is also what makes input transformations so easy, since for clients ever

Re: [PATCH 1/1] configure: check for libpng

2012-02-07 Thread Eugeni Dodonov
On Tue, Feb 7, 2012 at 13:14, Eugeni Dodonov wrote: > Add an explicit check for libpng to prevent: > > /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol > 'png_get_valid@@PNG15_0' > /usr/bin/ld: note: 'png_get_valid@@PNG15_0' is defined in DSO > /usr/lib/libpng15.so.15 so t

[PATCH 1/1] configure: check for libpng

2012-02-07 Thread Eugeni Dodonov
Add an explicit check for libpng to prevent: /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol 'png_get_valid@@PNG15_0' /usr/bin/ld: note: 'png_get_valid@@PNG15_0' is defined in DSO /usr/lib/libpng15.so.15 so try adding it to the linker command line /usr/lib/libpng15.so.15:

[FYI] compositor: add weston_surface transformation doc

2012-02-07 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/compositor.h | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index 4495412..79449ad 100644 --- a/src/compositor.h +++ b/src/compositor.h @@ -208,6 +208,31 @@ enum weston_out

Re: [weston PATCH v7 1/2] add the set_maximised implementation

2012-02-07 Thread Pekka Paalanen
Hi, comments inline. On Tue, 7 Feb 2012 11:42:30 +0800 juan.j.z...@linux.intel.com wrote: > From: Juan Zhao > > --- > src/shell.c | 73 > +++ > 1 files changed, 73 insertions(+), 0 deletions(-) > > diff --git a/src/shell.c b/src/she