Re: [PATCH wayland 1/4] server: Make wl_object and wl_resource opaque structs

2013-07-01 Thread Kristian Høgsberg
On Thu, Jun 27, 2013 at 08:09:18PM -0500, Jason Ekstrand wrote: > From: Kristian Høgsberg > > With the work to add wl_resource accessors and port weston to use them, > we're ready to make wl_resource and wl_object opaque structs. We keep > wl_buffer in the header for EGL stacks to use, but don't

Re: [PATCH weston] editor: Fix segfault when deleting the first character

2013-07-01 Thread Kristian Høgsberg
On Fri, Jun 28, 2013 at 06:59:44PM +0900, Daiki Ueno wrote: > > --- > clients/editor.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks, committed. Kristian > diff --git a/clients/editor.c b/clients/editor.c > index d4e4e92..3fb645b 100644 > --- a/clients/editor.c > +++ b/cli

Re: xserver problems

2013-07-01 Thread Bill Spitzak
Is this the same result other see? I have to use the wlshm driver, and was wondering if the problem is with it, or if it is a general problem with xserver. Bill Spitzak wrote: For the last 2 months running x applications under wayland is producing black windows, but if you resize them you get

[PATCH 8/8] shell: Fix calculation of center point in surface rotation

2013-07-01 Thread Tomeu Vizoso
From: Louis-Francis Ratté-Boulianne --- src/shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell.c b/src/shell.c index cadcb55..0ab7fe7 100644 --- a/src/shell.c +++ b/src/shell.c @@ -3133,8 +3133,8 @@ surface_rotate(struct shell_surface *surface, struct west

[PATCH 7/8] xwayland: Fix the race condition when mapping a surface

2013-07-01 Thread Tomeu Vizoso
From: Louis-Francis Ratté-Boulianne Make sure XCB_MAP_NOTIFY has been received and the window id has been set before mapping the shell surface. It fixes race condition making the surface appears at wrong coordinates or with wrong size. --- src/xwayland/window-manager.c | 19 +--

[PATCH 6/8] Shell: Add Exposay

2013-07-01 Thread Tomeu Vizoso
From: Daniel Stone Exposay provides window overview functions which, when a key which produces the binding modifier is pressed on its own, scales all currently-open windows down to be shown overlaid on the desktop, providing keyboard and mouse navigation to be able to switch window focus. Signed

[PATCH 5/8] Add move/scale animation

2013-07-01 Thread Tomeu Vizoso
From: Daniel Stone Add an animation which moves a surface to a new location, at the same time as also rescaling it to a different size from the origin, rather than the existing scale animation which resizes from the centre. Signed-off-by: Daniel Stone --- src/animation.c | 62

[PATCH 4/8] Add modifier-only binding

2013-07-01 Thread Tomeu Vizoso
From: Daniel Stone Add the ability to bind to modifiers; the binding is armed when a key which sets the requested modifier is pressed, and triggered if the key is released with no other keys having been pressed in the meantime, as well as mouse buttons or scroll axes. This only works for direct

[PATCH 3/8] compositor, shell: Add animation to measure desktop fps

2013-07-01 Thread Tomeu Vizoso
From: Louis-Francis Ratté-Boulianne On the first output, count the number of frames rendered for each second, and report the fps in the Weston log. To ensure a busy rendering loop, the debug key binding starting the measurement also creates a bouncing box animation on screen. The box is simply

[PATCH 2/8] animation: Make zoom animation renders better and smoother

2013-07-01 Thread Tomeu Vizoso
From: Louis-Francis Ratté-Boulianne Don't scale to a size smaller than 1/8 the surface size Adjust spring parameters so we don't go over the target value --- src/animation.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/animation.c b/src/animation.c index 42395af.

[PATCH 1/8] animation, shell: add kbd focus change animation

2013-07-01 Thread Tomeu Vizoso
From: Louis-Francis Ratté-Boulianne When enabled, this will make all but the keyboard-focused window dim. Also the background gets dimmed, if there are any windows open. The panel is not dimmed. When the keyboard focus changes, the change in dimming is animated. The dimming is implemented with

Misc. stuff from the Raspberry Pi demo

2013-07-01 Thread Tomeu Vizoso
Hello, have rebased a few patches that remained to be upstreamed from our work on the Raspberry Pi renderer and demos. This follows an initial submission from Pekka[0]. Weston-desktop-shell gets new features. The major new feature is "exposay", a window overview mode with animated transitions. An

[PATCH weston sdk v2 5/8] weston.pc: Provide moduledir

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic This allows modules to use the correct directory for the targeted Weston to install themselves. Signed-off-by: Quentin Glidic --- src/weston.pc.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/weston.pc.in b/src/weston.pc.in index 3c61c98..7bdf8d8 100644 --- a

[PATCH weston sdk v2 8/8] shared: Export configuration functions

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- shared/config-parser.c | 5 + 1 file changed, 5 insertions(+) diff --git a/shared/config-parser.c b/shared/config-parser.c index 0ff96ee..4e6cf7f 100644 --- a/shared/config-parser.c +++ b/shared/config-parser.c @@ -260,6 +260,7 @@ conf

[PATCH weston sdk v2 6/8] weston.ini: Allow a relative path for input-method

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/Makefile.am| 1 + man/weston.ini.man | 3 ++- src/text-backend.c | 7 +++ weston.ini | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index 37174e2..b3a3881 100644

[PATCH weston sdk v2 7/8] weston.ini: Allow a relative path for screensaver

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- man/weston.ini.man | 3 ++- src/shell.c| 9 - weston.ini | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/man/weston.ini.man b/man/weston.ini.man index f457d34..4141e77 100644 --- a/man/weston.

[PATCH weston sdk v2 2/8] autotools: Define paths in configure.ac

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- configure.ac | 26 ++ man/Makefile.am | 2 +- src/Makefile.am | 4 ++-- src/weston.pc.in | 4 ++-- src/xwayland/Makefile.am | 2 +- 5 files changed, 32 insertions(+), 6 delet

[PATCH weston sdk v2 4/8] clients: Install to pkglibexecdir

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- clients/Makefile.am | 2 +- src/Makefile.am | 2 +- src/screenshooter.c | 2 +- src/shell.c | 2 +- src/tablet-shell.c | 2 +- src/text-backend.c | 2 +- src/xwayland/Makefile.am | 3 --- 7 files

[PATCH weston sdk v2 3/8] autotools: Use pkg*dir

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- data/Makefile.am | 4 +--- src/Makefile.am | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index a7cc944..f6f05f9 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,6 +1,4

[PATCH weston sdk v2 1/8] weston.pc: Add dependencies for pixman-1 and xkbcommon

2013-07-01 Thread Quentin Glidic
From: Quentin Glidic Weston headers include pixman and libxkbcommon headers Using Requires.private means that CFLAGS from pixman-1 and xkbcommon are added to weston CFLAGS, while LIBS are added in case of static linking only. This way, plugins does not have to use them, but will need to do so exp