Re: [PATCH wayland-protocols v3] Add screensaver idle inhibitor protocol

2016-06-04 Thread Bryce Harrington
On Fri, Jun 03, 2016 at 10:39:24AM -0500, Yong Bakos wrote: > >>> + This destroys the inhibit manager. > > > > Good addition. Should probably say how destroying the manager affects > > the inhibitors created from it (no effect at all)? > > Agreed w/ pq. But, is the inhibit manager a /singleton/ g

Re: [PATCH] scanner: Fix reported executable name to 'wayland-scanner'

2016-06-04 Thread Bryce Harrington
On Fri, Jun 03, 2016 at 06:34:38PM -0500, Yong Bakos wrote: > Hi, > > On Jun 2, 2016, at 8:16 PM, Jonas Ã…dahl wrote: > > > > On Thu, Jun 02, 2016 at 02:42:44PM -0700, Bryce Harrington wrote: > >> 'wayland-scanner -v' (correctly) reports the program as named > >> "wayland-scanner", but 'wayland-s

[PATCH weston v2] compositor: allow to control the vt switching

2016-06-04 Thread Giulio Camuffo
A compositor may want to control the vt switching, for example to ensure to have a lock screen before it. To enable that add a vfunc that will be called when CTRL+ALT+FN is pressed. The default behavior is to do the switching, but the user can change it by using the new weston_compositor_set_vt_swi

[PATCH weston] compositor: allow to control the vt switching

2016-06-04 Thread Giulio Camuffo
A compositor may want to control the vt switching, for example to ensure to have a lock screen before it. To enable that add a vfunc that will be called when CTRL+ALT+FN is pressed. The default behavior is to do the switching, but the user can change it by using the new weston_compositor_set_vt_swi

[PATCH weston 1/2] compositor: add plugin-registry

2016-06-04 Thread Giulio Camuffo
From: Pekka Paalanen Implement a simple register and lookup for function tables. This is intended for plugins to expose APIs to other plugins. It has been very hard to arrange a plugin to be able to call into another plugin without modifying Weston core to explicitly support each case. This patc

[PATCH weston 2/2] xwayland: make the plugin usable by libweston compositors

2016-06-04 Thread Giulio Camuffo
This patch follows a similar approach to the taken to detach the backends from weston. But instead of passing a configuration struct when loading the plugin, we use the plugin API registry to register an API, and to get it in the compositor side. This API allows to spawn the Xwayland process in the

[PATCH v1] compositor-x11: fix title overflow in x11_backend_create_output

2016-06-04 Thread Benoit Gschwind
--- src/compositor-x11.c | 29 - 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 629b5f3..a518820 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -782,7 +782,7 @@ x11_backend_create_output(