Re: [PATCH] pixman: Check whether the buffer still exists when the surface is redrawn

2013-11-19 Thread Pekka Paalanen
Hi Lubomir, On Mon, 18 Nov 2013 23:42:40 +0100 Lubomir Rintel lkund...@v3.sk wrote: While the pixman image might be attached, the underlying buffer might be already gone under certain circumstances. This is easily reproduced by attempting to resize gnome-terminal on a fbdev backend. Should

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

2013-11-19 Thread Emilio Pozuelo Monfort
On 19/11/13 04:27, Bryce W. Harrington wrote: On Fri, Nov 15, 2013 at 05:53:30PM +0100, Emilio Pozuelo Monfort wrote: From: Louis-Francis Ratté-Boulianne l...@collabora.com When enabled, this will make all but the keyboard-focused window dim. Also the background gets dimmed, if there are any

[PATCH 1/3] compositor-drm: Add key binding to switch from pixman to GL renderer

2013-11-19 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira ander.conselvan.de.olive...@intel.com When running with the pixman renderer, the debug binding 'W' (mod-shift-space W) will cause the compositor to load gl-renderer.so and start using it instead of the pixman renderer. --- src/compositor-drm.c | 83

[PATCH 2/3] compositor-drm: Add option to disable early buffer release

2013-11-19 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira ander.conselvan.de.olive...@intel.com This together with a follow up patch should make it possible to do a runtime renderer switch without causing artifact on the screen. --- man/weston-drm.man |6 ++ src/compositor-drm.c | 27

[PATCH 3/3] gl-renderer: Attach buffer during surface state creation if possible

2013-11-19 Thread Ander Conselvan de Oliveira
From: Ander Conselvan de Oliveira ander.conselvan.de.olive...@intel.com When a renderer switch happens, it is possible that when the surface state is created, a buffer for the given surface is already available. In that case, run the attach routine so that the pixel contents are properly set.

Re: Thoughts about decoration information in the xdg_shell

2013-11-19 Thread Jesse K
Hi, What about having a theme definition service for graphical environment? This theme definition would contains hints about windows decorations, colors, fonts, textures, and much more. The hints could only be recommendations - not requirements. The toolkits, shells, CSD, SSD should ideally use

[PATCH 0/9] exposay alt-tab

2013-11-19 Thread Emilio Pozuelo Monfort
Rebased on master and fixed a couple of conflicts with Giulio's recent input changes. Fixed the typo spotted by Bryce. Daniel Stone (3): Add modifier-only binding Add move/scale animation Add Exposay Emilio Pozuelo Monfort (5): input: Don't send leave events to destroyed views shell:

[PATCH 5/9] input: Don't send leave events to destroyed views

2013-11-19 Thread Emilio Pozuelo Monfort
If a view which has focus is destroyed, we would send a leave event while changing focus, causing a segfault. Prevent this by listening to the view's destroy signal and removing it from the pointer focus. Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- src/compositor.h |

[PATCH 7/9] exposay: add cancel impl to the kbd grab iface

2013-11-19 Thread Emilio Pozuelo Monfort
Otherwise we'll crash when cancel is called. Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- src/shell.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/shell.c b/src/shell.c index 2a8c04c..dae31a0 100644 --- a/src/shell.c +++ b/src/shell.c @@ -5351,9

[PATCH 2/9] Add modifier-only binding

2013-11-19 Thread Emilio Pozuelo Monfort
From: Daniel Stone dan...@fooishbar.org 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

[PATCH 9/9] shell: Set output on the focus_surfaces' view

2013-11-19 Thread Emilio Pozuelo Monfort
Otherwise we crash when animating the view. Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- src/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell.c b/src/shell.c index 09ff86c..bf5c704 100644 --- a/src/shell.c +++ b/src/shell.c @@ -615,6 +615,7 @@

[PATCH 6/9] shell: Implement alt-tab switcher

2013-11-19 Thread Emilio Pozuelo Monfort
Signed-off-by: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk --- src/shell.c | 248 1 file changed, 248 insertions(+) diff --git a/src/shell.c b/src/shell.c index b2bc74a..2a8c04c 100644 --- a/src/shell.c +++ b/src/shell.c @@

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

2013-11-19 Thread Emilio Pozuelo Monfort
From: Louis-Francis Ratté-Boulianne l...@collabora.com 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

[PATCH 4/9] Add Exposay

2013-11-19 Thread Emilio Pozuelo Monfort
From: Daniel Stone dan...@fooishbar.org 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

Re: [PATCH 2/3] compositor-drm: Add option to disable early buffer release

2013-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2013 11:30:11 +0200 Ander Conselvan de Oliveira conselv...@gmail.com wrote: From: Ander Conselvan de Oliveira ander.conselvan.de.olive...@intel.com This together with a follow up patch should make it possible to do a runtime renderer switch without causing artifact on the

[PATCH] exposay: move the pointer in our motion handler

2013-11-19 Thread Emilio Pozuelo Monfort
This is necessary since commit 1959ab. --- src/shell.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index bf5c704..82c3cd8 100644 --- a/src/shell.c +++ b/src/shell.c @@ -5232,11 +5232,14 @@ exposay_layout(struct desktop_shell *shell) }

[PATCH weston v2] pixman: Destroy pixman images when underlying buffer is destroyed

2013-11-19 Thread Lubomir Rintel
While the pixman image might be attached, the underlying buffer might be already gone under certain circumstances. This is easily reproduced by attempting to resize gnome-terminal on a fbdev backend. $ WAYLAND_DEBUG=1 strace -emunmap weston --backend=fbdev-backend.so ... [1524826.942]

[PATCH weston] compositor: fix sub-surface view stacking order

2013-11-19 Thread ppaalanen
From: Pekka Paalanen pekka.paala...@collabora.co.uk If you opened a window with sub-surfaces, and then raised another window on top of that, the underlaying window's main surface was stacked properly, but the sub-surfaces remained on top of the raised window. IOW, the raised window was in between

Re: [PATCH weston v2] pixman: Destroy pixman images when underlying buffer is destroyed

2013-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2013 12:57:10 +0100 Lubomir Rintel lkund...@v3.sk wrote: While the pixman image might be attached, the underlying buffer might be already gone under certain circumstances. This is easily reproduced by attempting to resize gnome-terminal on a fbdev backend. $ WAYLAND_DEBUG=1

Re: [PATCH 2/3] compositor-drm: Add option to disable early buffer release

2013-11-19 Thread Ander Conselvan de Oliveira
On 11/19/2013 01:05 PM, Pekka Paalanen wrote: On Tue, 19 Nov 2013 11:30:11 +0200 Ander Conselvan de Oliveira conselv...@gmail.com wrote: From: Ander Conselvan de Oliveira ander.conselvan.de.olive...@intel.com This together with a follow up patch should make it possible to do a runtime

Re: [PATCH v2 wayland] pkg-config: scanner isn't arch-independent

2013-11-19 Thread Emilio Pozuelo Monfort
Ping? wayland-scanner hasn't been dropped and the .pc location is still bogus. On 20/08/13 00:58, Kristian Høgsberg wrote: On Fri, Aug 16, 2013 at 03:55:52PM +0100, Daniel Stone wrote: Hi, On 16 August 2013 15:50, David Herrmann dh.herrm...@gmail.com wrote: On Fri, Aug 16, 2013 at 2:26 PM,

Re: [PATCH v2 wayland] pkg-config: scanner isn't arch-independent

2013-11-19 Thread Arnaud Vrac
I'm wondering how you are supposed to use the .pc file when cross-compiling weston for example. Typically you would have the following directory layout: wayland build for host: host/usr/bin/wayland-scanner host/usr/lib/pkgconfig/wayland-scanner.pc host/usr/share/aclocal/wayland-scanner.m4

Re: [PATCH 2/3] compositor-drm: Add option to disable early buffer release

2013-11-19 Thread Pekka Paalanen
On Tue, 19 Nov 2013 14:51:42 +0200 Ander Conselvan de Oliveira conselv...@gmail.com wrote: On 11/19/2013 01:05 PM, Pekka Paalanen wrote: On Tue, 19 Nov 2013 11:30:11 +0200 Ander Conselvan de Oliveira conselv...@gmail.com wrote: From: Ander Conselvan de Oliveira