Re: [PATCH] adding parameter for set_fullscreen

2012-01-03 Thread Juan Zhao
On Tue, 2012-01-03 at 11:54 -0800, Bill Spitzak wrote: > > juan.j.z...@linux.intel.com wrote: > > From: Juan Zhao > > > > support two methods: > > "FORCE" means changing the screen resolution to the mode of the surface. > > If there is no matched mode, just fallback to FILL mode. > > "FILL"

Re: [PATCH] adding parameter for set_fullscreen

2012-01-03 Thread Bill Spitzak
juan.j.z...@linux.intel.com wrote: From: Juan Zhao support two methods: "FORCE" means changing the screen resolution to the mode of the surface. If there is no matched mode, just fallback to FILL mode. "FILL" means changing fill the around of the surface to match the screen's mode. curren

Renaming wayland-compositor

2012-01-03 Thread Kristian Høgsberg
Hello, I just pushed a commit that renames the wayland sample compositor to "weston"[1]. Here's the reasoning from the commit message: This rename addresses a few problems around the split between core Wayland and the wayland-demos repository. 1) Initially, we had one big repository

Re: [PULL/RFC] compositor-x11 destructors v1

2012-01-03 Thread Kristian Høgsberg
On Tue, Jan 3, 2012 at 9:53 AM, Pekka Paalanen wrote: > Hi, > > here is the majority of the compositor cleanups I did for > compositor-x11. They depend on the patch "server: add > wl_input_device_fini()" to the Wayland core. Thanks, that's a great cleanup series. Pulled and pushed. > Most of it

Re: [PATCH 1/2] server: add wl_input_device_fini()

2012-01-03 Thread Kristian Høgsberg
On Tue, Jan 3, 2012 at 9:32 AM, Pekka Paalanen wrote: > Add a clean-up function for destroying all objects created in > wl_input_device_init(). Can be used to fix memory leaks reported by > Valgrind in the demos. > > The init function was also missing an explicit initialisation of the > 'keys' arr

Re: [PATCH 2/2] server: remove wl_display::callback_list as unused

2012-01-03 Thread Kristian Høgsberg
On Tue, Jan 3, 2012 at 9:32 AM, Pekka Paalanen wrote: > Signed-off-by: Pekka Paalanen Right, that was a left-over, thanks. Kristian > --- >  src/wayland-server.c |    2 -- >  1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/src/wayland-server.c b/src/wayland-server.c > index 0b

[PULL/RFC] compositor-x11 destructors v1

2012-01-03 Thread Pekka Paalanen
Hi, here is the majority of the compositor cleanups I did for compositor-x11. They depend on the patch "server: add wl_input_device_fini()" to the Wayland core. Most of it is trivial, but destroying global objects (input device, maybe outputs) have their caveats. The main thing still not destroye

[PATCH 2/2] server: remove wl_display::callback_list as unused

2012-01-03 Thread Pekka Paalanen
Signed-off-by: Pekka Paalanen --- src/wayland-server.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/wayland-server.c b/src/wayland-server.c index 0b81706..92b5e57 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -70,7 +70,6 @@ struct wl_display {

[PATCH 1/2] server: add wl_input_device_fini()

2012-01-03 Thread Pekka Paalanen
Add a clean-up function for destroying all objects created in wl_input_device_init(). Can be used to fix memory leaks reported by Valgrind in the demos. The init function was also missing an explicit initialisation of the 'keys' array. Add the explicit array init, although it is redundant with the