[PATCH] Resize the shell when the mode is switched

2013-09-23 Thread Hardening
Resize the panel and the background when we're notified of a mode switch. --- clients/desktop-shell.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c index 599c0a5..5d7d765 100644 --- a/clients/desktop-shell.c +++ b/clien

Re: 1.3 RC1 snapshots

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 09:46:42AM +0300, Pekka Paalanen wrote: > On Sun, 22 Sep 2013 17:09:34 -0700 > Kristian Høgsberg wrote: > > > Hello, > > > > We're closing in on end of September, and the plan is to release 1.3 > > then. So towards that and without much further ado, here's the 1.2.91 > >

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 07:26:03AM +0200, Pier Luigi Fiorini wrote: > Make it easier to check for a Weston version. Ah yup, I lost track of that one. Thanks, committed. Kristian > --- > src/version.h.in | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/src/

Re: [PATCH weston] input: check that the new focus surface has a valid resource

2013-09-23 Thread Giulio Camuffo
2013/9/23 Kristian Høgsberg : > On Mon, Sep 23, 2013 at 12:33:39PM +0200, Giulio Camuffo wrote: >> Here too we must make sure the surface has a valid resource, as >> there are some (xwayland, surfaces created by the shell) that >> don't have it. >> Fix a Weston crash when setting a mpv window fulls

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 10:39:08AM -0700, Kristian Høgsberg wrote: > On Mon, Sep 23, 2013 at 07:26:03AM +0200, Pier Luigi Fiorini wrote: > > Make it easier to check for a Weston version. > > Ah yup, I lost track of that one. Thanks, committed. > > Kristian > > > --- > > src/version.h.in | 12 +

Re: [PATCH] clients: Include and link against math lib for new multi-resource

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 11:25:29AM +0100, Stefan Schmidt wrote: > Linking failed with missing ceil() here. Making sure that we include > the header and add the missing -lm. > > Signed-off-by: Stefan Schmidt Thanks, applied. Kristian > --- > clients/Makefile.am |2 +- > clients/multi-

Re: [PATCH weston] input: check that the new focus surface has a valid resource

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 12:33:39PM +0200, Giulio Camuffo wrote: > Here too we must make sure the surface has a valid resource, as > there are some (xwayland, surfaces created by the shell) that > don't have it. > Fix a Weston crash when setting a mpv window fullscreen on drm. We have the same prob

Re: [PATCH 2/2] Update .gitignore

2013-09-23 Thread Kristian Høgsberg
On Mon, Sep 23, 2013 at 12:49:02PM +0200, Emilio Pozuelo Monfort wrote: > From: Emilio Pozuelo Monfort Thanks, both fixes applied. Kristian > --- > .gitignore | 1 + > clients/.gitignore | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/.gitignore b/.gitignore > index f0b5df

Re: [PATCH weston 1/2 v2] input: Emit events on all resources for a client

2013-09-23 Thread Neil Roberts
Kristian Høgsberg writes: > Instead of this manual marker, you can add comments like the above > below the three dashes that git inserts between the commit message and > the actual patch. git am will take the text up until the --- marker as > the commit message and discard everything from there o

[PATCH 2/2] Update .gitignore

2013-09-23 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort --- .gitignore | 1 + clients/.gitignore | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index f0b5df1..f96bbd1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ cscope.out .libs /aclocal.m4 /autom4te.cache +/compile

[PATCH 1/2] weston.ini: update path for the flower client

2013-09-23 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort --- weston.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weston.ini b/weston.ini index a37afe0..9a7137f 100644 --- a/weston.ini +++ b/weston.ini @@ -33,7 +33,7 @@ path=/usr/bin/google-chrome [launcher] icon=/usr/share/icons/gnome/24x24/a

[PATCH weston] input: check that the new focus surface has a valid resource

2013-09-23 Thread Giulio Camuffo
Here too we must make sure the surface has a valid resource, as there are some (xwayland, surfaces created by the shell) that don't have it. Fix a Weston crash when setting a mpv window fullscreen on drm. --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input

[PATCH] clients: Include and link against math lib for new multi-resource

2013-09-23 Thread Stefan Schmidt
Linking failed with missing ceil() here. Making sure that we include the header and add the missing -lm. Signed-off-by: Stefan Schmidt --- clients/Makefile.am |2 +- clients/multi-resource.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/Makefile.am b/cl

cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the val

[PATCH 0/5] build: cross compile wayland

2013-09-23 Thread Marc Chalain
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the val

[PATCH 5/5] build: doesn't install wayland-scanner files if the configuration doesn't allow

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain for cross compile the installation of wayland-scanner and other files has to be done by hand. --- Makefile.am |2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index ddf39d1..a56bb48 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,9 @@ SUBDI

[PATCH 4/5] build: use EXEEXT_FOR_BUILD instead EXEEXT for wayland-scanner

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain AX_CC_FOR_BUILD set the EXEEXT_FOR_BUILD variable to define the application extention of build platform. --- src/Makefile.am |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index de5b23a..4b6e1dd 100644 --- a/src/Ma

[PATCH 3/5] build: use ax_cc_for_build.m4 script

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain CC_FOR_BUILD could be defined by the ax_cc_for_build.m4 file. This file comes from : http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4 --- configure.ac|1 + src/Makefile.am |2 +- 2 files changed, 2 insertions(+), 1 deleti

[PATCH 2/5] build: cross compile wayland-scanner

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain the wayland-scanner files are build with CC_FOR_BUILD instead CC like the other files. CC_FOR_BUILD could be initialize by autotool but here it's still hard coded to "gcc" --- src/Makefile.am | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src

[PATCH 1/5] build: break the dependecy between wayland-scanner and libwayland-util.la

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
From: mchalain libwayland-util.la is used by other wayland libraries and it contains more functions useless for wayland-scanner. To build wayland-scanner without dependency with wayland libraries, the wayland-util.c is only linked to wayland-scanner. Autotool doesn't allow to compile a file twi

[PATCH 0/5] build: cross compile wayland

2013-09-23 Thread mchalain [marc.chal...@gmail.com]
In cross compile, the "host" running the libraries, is different to the "build" machine running the compiler. In this case wayland-scanner is a part of the "build" tools and not a part of the "host" tools. Autotool and "configure" provide the "--host", "--target" and "--build" options. When the

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Marc Chalain
sure this comment is wrong prefer +Can be used like #if (WESTON_VERSION_AT_LEAST(1, 2, 0)) And in this case you can not build the feature for weston 1.3.0 while you want to a version up of 1.3.0 I think you have to change completly your macro. Look at your WESTON_VERSION macro this one can he

[PATCH] weston-launch exports listed environment variables

2013-09-23 Thread José Bollo
Enable weston-launch to export the environment variables listed with the invocation option --export (shortened as -e). The values of the variables are read from the environment of weston-launch to ensure they aren't displayed by the unix command 'ps'. Example: weston-launch --export=DBUS_SESSIO

Re: [PATCH] version.h: Add version check macro

2013-09-23 Thread Bill Spitzak
On 09/22/2013 10:26 PM, Pier Luigi Fiorini wrote: Make it easier to check for a Weston version. +/* +Can be used like #if (WESTON_VERSION >= WESTON_VERSION_AT_LEAST(1, 2, 0)) I think this comment is wrong. +*/ +#define WESTON_VERSION_AT_LEAST(major, minor, micro) \ +(WESTON_VER

Re: 1.3 RC1 snapshots

2013-09-23 Thread José Bollo
On Seg, 2013-09-23 at 09:11 +0200, José Bollo wrote: > Hi, this patch > http://lists.freedesktop.org/archives/wayland-devel/2013-September/011122.html > is merely obviously needed for running xwayland without crashs! > Regards Sorry its in I made a mistake regards

Re: 1.3 RC1 snapshots

2013-09-23 Thread José Bollo
Hi, this patch http://lists.freedesktop.org/archives/wayland-devel/2013-September/011122.html is merely obviously needed for running xwayland without crashs! Regards On Dom, 2013-09-22 at 17:09 -0700, Kristian Høgsberg wrote: > Hello, > > We're closing in on end of September, and the plan is to r