[PATCH 3/3] shell: avoid unnecessary busy cursor sending when not-responsing-ping client

2012-07-17 Thread juan . j . zhao
From: Juan Zhao When the client didn't response to ping event in time, the server will do "set_busy_cursor" again and again. In fact it should only need to set it at the first time. Because handle_pointer_focus could help to set it, when the application was focused. Signed-off-by: Juan Zhao

[PATCH 2/3] shell: add panel height limiation when moving a window

2012-07-17 Thread juan . j . zhao
From: Juan Zhao When applications not directly based on toytoolkit, like simple-egl, efl applications is grabbed and moved, they may be moved to the place under the panel. Then they could not be grabbed again. Add panel height limitation when configuring the surface new places. Signed-off-by: Ju

[PATCH 1/3] shell:slight coding style refine

2012-07-17 Thread juan . j . zhao
From: Juan Zhao combine several "if" conditions Signed-off-by: Juan Zhao --- src/shell.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/shell.c b/src/shell.c index 40cef14..613304f 100644 --- a/src/shell.c +++ b/src/shell.c @@ -913,12 +913,9 @@ ping_handler(st

Re: [PATCH] remove listener from wl_data_source destroy_signal listener list

2012-07-17 Thread Kristian Høgsberg
On Tue, Jul 17, 2012 at 06:56:03PM +0400, Dmitry Guryanov wrote: > I've found a bug during wayland exploration - if you make two > drag'n'drops in weston client example, dnd - weston crashes with > segfault. I've tried to investigate it and found a problem. > > In function drag_grab_button we firs

Re: Resource id allocation on server side

2012-07-17 Thread Kristian Høgsberg
On Tue, Jul 17, 2012 at 11:52:02AM +, Fiedler, Mathias wrote: > Hi, > > I'm facing an issue when the client tries to create a new object > with an id bigger than the current maximum id on server-side +1. Is > it correct that those ids will be silently ignored? > E.g. wl_client_add_resource()

Re: [PATCH 0/5] tablet-shell: Add sliding layout effect.

2012-07-17 Thread Kristian Høgsberg
On Tue, Jul 17, 2012 at 05:03:53PM +0800, tecto...@gmail.com wrote: > From: Ning Tang > > Hi everyone, > > We added the sliding layout effect like tablet shell. > The effect is similar to that on desktop shell. > This time we reuse the struct of launcher instead of creating shortcut. > > Curren

RE: Can't compile newest wayland due to mesa changes?

2012-07-17 Thread Eoff, Ullysses A
>-Original Message- >From: wayland-devel- >bounces+ullysses.a.eoff=intel@lists.freedesktop.org [mailto:wayland- >devel-bounces+ullysses.a.eoff=intel@lists.freedesktop.org] On Behalf >Of Ander Conselvan de Oliveira >Sent: Tuesday, July 17, 2012 12:04 AM >To: wayland-devel@lists.free

[PATCH] remove listener from wl_data_source destroy_signal listener list

2012-07-17 Thread Dmitry Guryanov
I've found a bug during wayland exploration - if you make two drag'n'drops in weston client example, dnd - weston crashes with segfault. I've tried to investigate it and found a problem. In function drag_grab_button we first call data_device_end_drag_grab, which sets seat->drag_data_source to NULL

Resource id allocation on server side

2012-07-17 Thread Fiedler, Mathias
Hi, I'm facing an issue when the client tries to create a new object with an id bigger than the current maximum id on server-side +1. Is it correct that those ids will be silently ignored? E.g. wl_client_add_resource() would call wl_map_insert_at() return -1 which isn't checked. For example, t

[PATCH 5/5] tablet-shell: Add trash function when dragging launchers.

2012-07-17 Thread tecton69
From: Ning Tang Show a trash image when dragging the launcher. If launcher is upon trash, it will be translucent and release it will cause the icon as well as tag in weston.ini be deleted. Signed-off-by: Li Chen Signed-off-by: Yi Yuan Signed-off-by: Ning Tang --- clients/tablet

[PATCH 4/5] tablet-shell: Make launchers draggable.

2012-07-17 Thread tecton69
From: Ning Tang The determination is occurred in launcher motion function. If the launcher is pressed some time, it will create the drag surface. That launcher's icon would follow cursor. Signed-off-by: Li Chen Signed-off-by: Yi Yuan Signed-off-by: Ning Tang --- clients/tablet-

[PATCH 3/5] tablet-shell: Making the layout draggable and have sliding effect.

2012-07-17 Thread tecton69
From: Ning Tang Use frame callback to move layout and thus making layout move at a speed. Also button and motion function will record the offset. Signed-off-by: Li Chen Signed-off-by: Yi Yuan Signed-off-by: Ning Tang --- clients/tablet-shell.c | 167 +

[PATCH 2/5] tablet-shell: Draw layout and launchers on it.

2012-07-17 Thread tecton69
From: Ning Tang Layout add redraw function to set allocation for launchers. Signed-off-by: Li Chen Signed-off-by: Yi Yuan Signed-off-by: Ning Tang --- clients/tablet-shell.c | 177 +++-- 1 file changed, 141 insertions(+),

[PATCH 1/5] tablet-shell: Add layout on home screen.

2012-07-17 Thread tecton69
From: Ning Tang Add a structure of layout which is between homescreen and launchers. The configuration of layout is also included. Signed-off-by: Li Chen Signed-off-by: Yi Yuan Signed-off-by: Ning Tang --- clients/tablet-shell.c | 67

[PATCH 0/5] tablet-shell: Add sliding layout effect.

2012-07-17 Thread tecton69
From: Ning Tang Hi everyone, We added the sliding layout effect like tablet shell. The effect is similar to that on desktop shell. This time we reuse the struct of launcher instead of creating shortcut. Currently the launchers on homescreen can't move. And we made them draggable and removable.

Re: Can't compile newest wayland due to mesa changes?

2012-07-17 Thread Ander Conselvan de Oliveira
On 07/17/2012 08:00 AM, Bill Spitzak wrote: I guesses that --disable-glx would help and it did, but instead I ran into something compiling mesa that seems to be a more serious wayland-related problem: In file included from backends/dri/gbm_dri.c:48:0: backends/dri/../../../egl/wayland/wayland-dr

Re: Can't compile newest wayland due to mesa changes?

2012-07-17 Thread Juan Zhao
On Mon, 2012-07-16 at 23:22 -0700, Bill Spitzak wrote: > On 07/16/2012 10:36 PM, Juan Zhao wrote: > > On Mon, 2012-07-16 at 21:51 -0700, Bill Spitzak wrote: > >> I am attempting to build the newest git respository of wayland/weston. > >> > >> Weston was complaining about missing GLSL symbol > >> P

Re: Can't compile newest wayland due to mesa changes?

2012-07-17 Thread Bill Spitzak
On 07/16/2012 10:36 PM, Juan Zhao wrote: On Mon, 2012-07-16 at 21:51 -0700, Bill Spitzak wrote: I am attempting to build the newest git respository of wayland/weston. Weston was complaining about missing GLSL symbol PFNEGLUNBINDWAYLANDDISPLAYWL So I tried to pull and recompile mesa (I have up