[PATCH weston 1/3] compositor: introduce structs to handle backends configuration

2015-10-17 Thread Giulio Camuffo
This commit introduces the structs weston_backend_config and weston_backend_output_config, to prepare for the new config system for the backends. --- src/compositor.h | 36 ++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/src/compositor.h b/src/co

[PATCH weston 3/3] main: stub the functions to load the backends with the new config system

2015-10-17 Thread Giulio Camuffo
--- src/main.c | 68 +- 1 file changed, 59 insertions(+), 9 deletions(-) diff --git a/src/main.c b/src/main.c index 11ade46..8c7b853 100644 --- a/src/main.c +++ b/src/main.c @@ -629,6 +629,64 @@ handle_exit(struct weston_compositor *c)

[PATCH weston 2/3] compositor: pass the backend config struct to the backends init function

2015-10-17 Thread Giulio Camuffo
Add new configuration argument to the backend_init() function, which will replace the current argc, argv, and config arguments. After each backend is converted individually the unused parameters will be removed. --- src/compositor-drm.c | 3 ++- src/compositor-fbdev.c| 3 ++- src/composit

[PATCH weston 0/3] Preps for the new config system for backends (libweston)

2015-10-17 Thread Giulio Camuffo
Hi, these 3 patches are essentially http://patchwork.freedesktop.org/patch/57019/ split in three, with some docs added and some functions renamed, (hopefully) addressing Bryce's comments to that patch. Giulio Camuffo (3): compositor: introduce structs to handle backends configuration composito

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-17 Thread Michael Catanzaro
On Fri, 2015-10-16 at 18:43 -0700, Bill Spitzak wrote: > I think you misunderstood. The *destination* (if the cursor is still > pointing at it) is what sets the cursor. To clarify: you mean the destination sets the cursor as soon as the drop completes, correct? (Currently the source controls the c

Re: [PATCH wayland] protocol: Improve data source notification around DnD progress

2015-10-17 Thread Michael Catanzaro
On Thu, 2015-10-01 at 21:57 +0200, Carlos Garnacho wrote: > Remember, toolkits preserve some state. The drag source is in control > of the pointer cursor as long as the DnD operation holds, so it > should > reset its internal current cursor to the regular one for the next > time > the pointer enter

[PATCH weston] input: use doubles in the interfaces to notify of input events

2015-10-17 Thread Giulio Camuffo
Hi, git send-email has decided that it doesn't want to send this patch but likely format-patch is more reasonable so i've attached it. -- Giulio From 060186308dde03279f7a0659e7edec706a0f5123 Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Sat, 17 Oct 2015 17:36:08 +0300 Subject: [PATCH] input

[PATCH weston] libinput: remove unused #define

2015-10-17 Thread Giulio Camuffo
--- src/libinput-device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/libinput-device.c b/src/libinput-device.c index 9fe1627..13440df 100644 --- a/src/libinput-device.c +++ b/src/libinput-device.c @@ -40,8 +40,6 @@ #include "libinput-device.h" #include "shared/helpers.h" -#define