[PATCH weston 13/16] tablet: Remove tablet-specific tools on disconnect

2017-10-25 Thread Bastian Farkas
Signed-off-by: Bastian Farkas --- libweston/compositor.h | 8 libweston/input.c | 33 +++-- libweston/libinput-device.c | 41 + 3 files changed, 76 insertions(+), 6 deletions(-) diff --git a/libweston

[PATCH weston 09/16] tablet: Add support for moving windows around using the stylus

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Changing the pointer to the appropriate image while moving the stylus around isn't supported yet. Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- clients/window.c | 33 ++ desktop-

[PATCH weston 14/16] tablet: Fixed compilation errors resulting from tablet patches.

2017-10-25 Thread Bastian Farkas
Member names of struct weston_surfece were changed from configure to committed. Signed-off-by: Bastian Farkas --- libweston/input.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libweston/input.c b/libweston/input.c index d8251b1..778aabd 100644 --- a

[PATCH weston 07/16] client: Add tablet cursor support into libtoytoolkit

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Again, a lot of this is code that has been reused from the cursor code for pointers. Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl Signed-off-by: Bastian Farkas --- clients/window.c | 138

[PATCH weston 12/16] tablet: Add demo application for tablets

2017-10-25 Thread Bastian Farkas
event to the actual client once the frame is received. toytoolkit just hooks up the handler one-by-one, so we're doing this here as well. Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- .gitignore | 1 + Makefi

[PATCH weston 10/16] tablet: Add tablet support to the top panel of the desktop shell

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- clients/desktop-shell.c | 56 + 1 file changed, 56 insertions(+) diff --git a/clients/desktop-shell.c b

[PATCH weston 11/16] tablet: Add binding to activate surfaces using the tablet tool

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- desktop-shell/shell.c | 14 ++ libweston/bindings.c | 39 ++- libweston/compositor.c | 1 + libweston

[PATCH weston 06/16] clients: add support for handling tablets

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl with one comment inlined Signed-off-by: Bastian Farkas --- clients/window.c | 498 +++ clients/window.h | 88

[PATCH weston 08/16] client: Add support for tablet cursor motion to window frames in libtoytoolkit

2017-10-25 Thread Bastian Farkas
mouse pointer. Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl Signed-off-by: Bastian Farkas --- clients/window.c| 23 ++- shared/cairo-util.h | 4 shared/frame.c

[PATCH weston 04/16] tablet: hook up libinput tablet events

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ådahl with one nit below. Signed-off-by: Bastian Farkas --- libweston/libinput-device.c | 120 1 file changed, 120

[PATCH weston 05/16] tablet: handle tablet cursors in the compositor

2017-10-25 Thread Bastian Farkas
Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- libweston/compositor.c | 6 ++ libweston/compositor.h | 13 libweston/input.c | 157 - 3 files changed, 175 insertions(+), 1 deletion(-) diff --git a/libweston/composito

[PATCH weston 02/16] tablet: add handling of tablet focus

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Closely modelled after the pointer focus handling Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- libweston/compositor.h | 10 ++ libweston/input.c | 92

[PATCH weston 01/16] tablet: Add initial tablet support to weston

2017-10-25 Thread Bastian Farkas
terer Signed-off-by: Bastian Farkas --- Makefile.am | 13 +- configure.ac| 2 +- libweston/compositor.c | 1 + libweston/compositor.h | 98 +++ libweston/input.c | 416 libweston/libinput-dev

[PATCH weston 03/16] tablet: add weston grab interfaces for tablet tools

2017-10-25 Thread Bastian Farkas
From: Lyude Paul Co-authored-by: Peter Hutterer Signed-off-by: Lyude Paul Signed-off-by: Peter Hutterer Signed-off-by: Bastian Farkas --- libweston/compositor.h | 53 +++ libweston/input.c | 253 + 2 files changed, 306 insertions

[PATCH weston 00/16] Tablet device support for weston

2017-10-25 Thread Bastian Farkas
python-evdev). Best regards Bastian Farkas Advanced Driver Information Technology GmbH Engineering System & Architecture (ADITG/ESA) Robert-Bosch-Str. 200 31139 Hildesheim Germany Tel. +49 5121 49 6942 Fax +49 5121 49 6999 bfar...@de.adit-jv.com ADIT is a joint venture company of Robert B

[PATCH weston 16/16] tablet: reordered changes in weston_seat struct to not break ABI compatibility

2017-10-25 Thread Bastian Farkas
Signed-off-by: Bastian Farkas --- libweston/compositor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libweston/compositor.h b/libweston/compositor.h index fb59615..3246ff4 100644 --- a/libweston/compositor.h +++ b/libweston/compositor.h @@ -721,8 +721,6 @@ struct

[PATCH weston 15/16] tablet: Fixing compilation issues in weston desktop-shell related to tablet support patches.

2017-10-25 Thread Bastian Farkas
Function names and structs changed. Signed-off-by: Bastian Farkas --- desktop-shell/shell.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 54ee4a2..1dae736 100644 --- a/desktop-shell/shell.c