[PATCH] desktop-shell: Add shortcut support

2012-06-20 Thread zhiwen . wu
From: Alex Wu The section name in weston.ini is "shortcut" and keys definition are the same as launcher. The layout of shortcut is hardcoded for implementation convenience. Since the concept of shortcut is almost the same as panel_launcher, reused the panel_launcher code. --- clients/desktop-she

[PATCH] tablet-shell client:fix one seg-fault error

2012-06-20 Thread juan . j . zhao
From: Juan Zhao When the icon provided in weston.ini is not available, it will report a segfault error. Check the icon at first. backtrace: *INT_cairo_surface_status (surface=0x0) at cairo-surface.c:259 259 { (gdb) bt #0 *INT_cairo_surface_status (surface=0x0) at cairo-surface.c:259 #1 0

Re: [PATCH wayland 1/2] protocol: replace pointer.attach with pointer.set_cursor

2012-06-20 Thread William Swanson
On Tue, Jun 19, 2012 at 12:40 AM, Pekka Paalanen wrote: > IMO a first step in clarifying everything is defining how we think > about pixels: are they squares of width and height 1.0, or do we think > of them as points, with unit spacing. The best way to deal with this, I have found, is to treat a

Re: [PATCH] compositor: Verify XDG_RUNTIME_DIR variable

2012-06-20 Thread Ander Conselvan de Oliveira
Hi, On 06/20/2012 09:31 AM, Pekka Paalanen wrote: Hi Martin On Mon, 18 Jun 2012 20:15:18 +0200 Martin Minarik wrote: Print an user friendly error mesage when the variable is not a valid directory. --- src/compositor.c | 34 +- 1 files changed, 29 insertio

Re: [PATCH weston 2/2] window: Don't free shm buffers while the compositor is using them

2012-06-20 Thread Ander Conselvan de Oliveira
On 06/20/2012 08:00 AM, Kristian Høgsberg wrote: On Tue, Jun 19, 2012 at 12:04:12PM -0400, Kristian Høgsberg wrote: On Tue, Jun 19, 2012 at 01:45:56PM +0300, Ander Conselvan de Oliveira wrote: After commit 460a79bd, the compositor will only upload the contents of an shm buffer to a texture duri

Re: [PATCH] compositor: Verify XDG_RUNTIME_DIR variable

2012-06-20 Thread Pekka Paalanen
Hi Martin On Mon, 18 Jun 2012 20:15:18 +0200 Martin Minarik wrote: > Print an user friendly error mesage when > the variable is not a valid directory. > --- > src/compositor.c | 34 +- > 1 files changed, 29 insertions(+), 5 deletions(-) > > diff --git a/src/co