Re: [PATCH 1/2] New logging functionality

2012-02-02 Thread Pekka Paalanen
On Fri, 3 Feb 2012 00:16:00 +0200 ustun.ergeno...@gmail.com wrote: > From: Ustun Ergenoglu > > Added logging fuctions that print out to a logfile and stderr. Logging levels > can be specified. > > Signed-off-by: Ustun Ergenoglu > --- > src/Makefile.am |6 ++- > src/wayland-log.c | 131

Re: [PATCH] smoke:fix the segment fault error

2012-02-02 Thread Juan Zhao
The segment fault error is caused by a null surface inside smoke, but not inside that desktop shell. Just initializing the widget size can help to create the right surface. Here is the backtrace infomation of that segment fault error: [3695783.129] -> wl_shell@8.get_shell_surface(new id 23, wl

[PATCH 2/2] Replaced fprintf calls with the new wl_log function.

2012-02-02 Thread ustun . ergenoglu
From: Ustun Ergenoglu Signed-off-by: Ustun Ergenoglu --- src/connection.c |9 + src/event-loop.c | 11 ++- src/wayland-client.c | 19 ++- src/wayland-server.c | 15 --- 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a

[PATCH 1/2] New logging functionality

2012-02-02 Thread ustun . ergenoglu
From: Ustun Ergenoglu Added logging fuctions that print out to a logfile and stderr. Logging levels can be specified. Signed-off-by: Ustun Ergenoglu --- src/Makefile.am |6 ++- src/wayland-log.c | 131 + src/wayland-log.h | 67 ++

[PATCH 0/2] Logging functions

2012-02-02 Thread ustun . ergenoglu
From: Ustun Ergenoglu Added new functions for logging and replaced the fprintf calls with the new wl_log calls. Ustun Ergenoglu (2): New logging functionality Replaced fprintf calls with the new wl_log function. src/Makefile.am |6 ++- src/connection.c |9 ++-- src/event-l

[PATCH] Add key grab to wl_grab_interface.

2012-02-02 Thread Scott Moreau
--- src/wayland-server.c | 16 +++- src/wayland-server.h |2 ++ 2 files changed, 17 insertions(+), 1 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 70adf28..d932907 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -458,10 +458,24 @@ de

[PATCH] Implement move surface key bindings.

2012-02-02 Thread Scott Moreau
Super+F7 to initiate, arrow keys to move, Enter to accept and Esc to terminate. We need a way to move the cursor to an abitrary position such as a warp_pointer function, instead of just moving the pointer image. We also need a uniform way to set a pointer image outside of toytoolkit. --- src/co

Re: [PATCH] smoke:fix the segment fault error

2012-02-02 Thread Tiago Vignatti
why do not cap that in the compositor instead? @ -326,9 +326,13 @@ shell_surface_resize(struct wl_client *client, struct wl_re struct wl_resource *input_resource, uint32_t time, uint32_t edges) { - struct weston_input_device *wd = input_resource-

Re: [PATCH] Introduce weston-launch

2012-02-02 Thread Pekka Paalanen
On Wed, 1 Feb 2012 15:37:11 +0100 Benjamin Franzke wrote: > 2012/2/1 Tiago Vignatti : ... > > > > On 01/31/2012 09:22 PM, Benjamin Franzke wrote: > >> > >> weston-launch starts weston and provides mechanism > >> for weston to set/drop drm master, open a tty, > >> and read input devices without be

[PATCH] smoke:fix the segment fault error

2012-02-02 Thread juan . j . zhao
From: Juan Zhao Add widget_set_size in the initiate time to allow smoke get the correct surface later. Or it will report segment fault error because of the null surface. Also add resize_handler to not allow resizing just like flower. Signed-off-by: Juan Zhao --- clients/smoke.c | 12 ++