[PATCH] image: segfault when the file doesn't exist

2012-08-06 Thread juan . j . zhao
From: Juan Zhao don't create a window when the file doesn't exist to fix the bug https://bugs.freedesktop.org/show_bug.cgi?id=52450 --- clients/image.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/clients/image.c b/clients/image.c index 711f0d8..c289d76 100644 --- a/clients/image.c

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-06 Thread Juan Zhao
Thanks, Tiago. :) It's helpful. On Mon, 2012-08-06 at 11:35 +0300, Tiago Vignatti wrote: > Hi Juan, > > There's an intentional separation of the wl_shell_surface_interface > on > its own (desktop) shell file. Its purpose is for building full > desktop > interfaces, in principle, and in fact thi

Re: [XDC 2012] Conference Update #1

2012-08-06 Thread Bill Spitzak
Are any Wayland developers at Siggraph in Los Angeles? ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] shell: don't remove all other panels on desktop panel redraw

2012-08-06 Thread Philipp Brüschweiler
panel_configure used to call configure_static_surface which removes all other surfaces in the panel layer. This unfortunately includes input panels, such as the one spawned by the keyboard client. As a result, the keyboard panel was removed on each redraw of the desktop panel, i.e. each full minute

[PATCH weston] evdev-touchpad: Configure flags so device is treated as a pointer.

2012-08-06 Thread Scott Moreau
A touchpad sends absolute events but they are translated to relative events by evdev-touchpad before sending to the compositor. The device is treated as a pointer and the flags should reflect this. --- This might be one way to do what Jonas is talking about. The capabilities enum should reflect ho

[PATCH weston 6/6] evdev: rename evdev_input_device to evdev_device

2012-08-06 Thread Pekka Paalanen
As said by krh: "Maybe we should also just call it an evdev_device instead, shorter not really ambiguous." Signed-off-by: Pekka Paalanen --- src/compositor-android.c | 10 +- src/compositor-drm.c | 16 src/evdev-touchpad.c | 14 +++--- src/evdev.c

[PATCH weston 5/6] evdev: do not pass a list to evdev_led_update()

2012-08-06 Thread Pekka Paalanen
evdev_led_update() does not really need the whole list of device at once, it can be called one device at a time. Signed-off-by: Pekka Paalanen --- src/compositor-android.c |4 +++- src/compositor-drm.c |4 +++- src/evdev.c | 13 ++--- src/evdev.h |

Out for a couple of days

2012-08-06 Thread Kristian Høgsberg
Hi all, I'll be out for the next couple of days and won't be applying patches until later this week. There's a lot of good patches on the list and I'll get to them, perhaps Thursday or so. Kristian ___ wayland-devel mailing list wayland-devel@lists.fre

[PATCH weston 4/6] compositor: fix weston_log format warnings

2012-08-06 Thread Pekka Paalanen
compositor.c: In function ‘log_extensions’: compositor.c:3085:7: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’ compositor.c:3087:4: warning: field precision should have type ‘int’, but argument 2 has type ‘long int’ Signed-off-by: Pekka Paalanen --- src/comp

[PATCH weston 3/6] compositor-drm: fix weston_log format errors

2012-08-06 Thread Pekka Paalanen
compositor-drm.c: In function 'drm_output_set_cursor': compositor-drm.c:754:4: warning: too few arguments for format compositor-drm.c:759:4: warning: too few arguments for format Signed-off-by: Pekka Paalanen --- src/compositor-drm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[PATCH weston 2/6] compositor: format check for weston_log arguments

2012-08-06 Thread Pekka Paalanen
Add gcc format check attribute to the weston_log() and weston_log_continue() functions. Signed-off-by: Pekka Paalanen --- src/compositor.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/compositor.h b/src/compositor.h index 979ce66..47301fa 100644 --- a/src/com

[PATCH weston 1/6] compositor: log program launches

2012-08-06 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/compositor.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index a3273dc..3765bec 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -140,6 +140,8 @@ weston_client_launch(struct weston_compo

[PATCH v3] shell: don't abuse link_layer for keeping track of input panel surfaces

2012-08-06 Thread Philipp Brüschweiler
Input panel surfaces were kept in a list by using layer_link of weston_surface. This was pretty hacky and resulted in the bug that an input panel surface was not removed from the list if it was unmapped at the time of destruction. This patch wraps the surface in a new input_panel_surface struct an

Re: [PATCH weston 09/20] evdev: expose the generic evdev API

2012-08-06 Thread Pekka Paalanen
On Fri, 3 Aug 2012 13:22:37 -0400 Kristian Høgsberg wrote: > On Fri, Aug 03, 2012 at 02:39:05PM +0300, Pekka Paalanen wrote: > > This API does not depend on udev or launcher-util. ... > > diff --git a/src/evdev.h b/src/evdev.h > > index 2455770..66773e7 100644 > > --- a/src/evdev.h > > +++ b/src/

Re: [PATCH v2] shell: don't abuse link_layer for keeping track of input panel surfaces

2012-08-06 Thread Pekka Paalanen
On Mon, 6 Aug 2012 12:39:31 +0200 Philipp Brüschweiler wrote: > Input panel surfaces were kept in a list by using layer_link of > weston_surface. This was pretty hacky and resulted in the bug that > an input panel surface was not removed from the list if it was unmapped > at the time of destruct

[PATCH v2] shell: don't abuse link_layer for keeping track of input panel surfaces

2012-08-06 Thread Philipp Brüschweiler
Input panel surfaces were kept in a list by using layer_link of weston_surface. This was pretty hacky and resulted in the bug that an input panel surface was not removed from the list if it was unmapped at the time of destruction. This patch properly keeps track of input panel surfaces. Destructio

Re: [PATCH 1/2 weston] evdev: Only use device as pointer if EV_REL and EV_KEY are set.

2012-08-06 Thread Jonas Ådahl
On Mon, Aug 6, 2012 at 9:27 AM, Scott Moreau wrote: > A standard mouse should not have EV_ABS as part of its capabilities, however > it > should have both EV_REL and EV_KEY. This attempts to avoid erroneously > detecting > devices as pointers, such as joysticks for example. This will potentiall

Re: [PATCH] compositor: remove destroyed surfaces from layer lists even if unmapped

2012-08-06 Thread Ander Conselvan de Oliveira
On 08/04/2012 04:59 PM, Philipp Brüschweiler wrote: This bug can be observed in action using the following steps: * ./editor * (in another terminal) ./keyboard * click into a field of the editor (the keyboard appears) * click outside of a field of the editor (keybord disappears) * kill the keyboa

Re: [RFC PATCH 06/12] tablet-shell: Applications can run on tablet

2012-08-06 Thread Tiago Vignatti
Hi Juan, There's an intentional separation of the wl_shell_surface_interface on its own (desktop) shell file. Its purpose is for building full desktop interfaces, in principle, and in fact things like _move, _resize, _set_title and etc don't make sense on tablet style of interface. So what yo

[PATCH 3/3 weston] evdev: Add has_rel for consistency.

2012-08-06 Thread Scott Moreau
The primary purpose for this here is to give us a better chance to log unused devices that might be considered an input device. --- src/evdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index a0a162c..6a613f8 100644 --- a/src/evdev.c +++ b/

[PATCH 2/3 weston] evdev: Ignore unknown devices.

2012-08-06 Thread Scott Moreau
If a device is not detected as a valid input device, ignore all events from it. --- src/compositor-drm.c | 1 - src/evdev.c | 14 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 33bffae..084bebf 100644 --- a/

[PATCH 1/2 weston] evdev: Only use device as pointer if EV_REL and EV_KEY are set.

2012-08-06 Thread Scott Moreau
A standard mouse should not have EV_ABS as part of its capabilities, however it should have both EV_REL and EV_KEY. This attempts to avoid erroneously detecting devices as pointers, such as joysticks for example. --- src/evdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --

[PATCH weston] compositor-x11: Always free output_mode on error.

2012-08-06 Thread Scott Moreau
--- src/compositor-x11.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index e135143..0caa8dd 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -1183,29 +1183,28 @@ output_section_done(void *data)

RE: [E-devel] [PATCH 0/3 v3] Add Copy and Paste support for wayland engine

2012-08-06 Thread Chris Michael
Alex, Would you mind resending these patches as attachments, and not inline in the message ? Thanks :) Dh -Original Message- From: zhiwen...@linux.intel.com [mailto:zhiwen...@linux.intel.com] Sent: 03 August 2012 09:02 To: enlightenment-de...@lists.sourceforge.net Cc: eduardo.de.barros.l