Hi all,
Some time ago I mentioned project Westfield and how it could be used to
create an html5 wayland compositor.
Today I'm proving I was not lying :)
I've recorded a short clip to demonstrate what it looks like:
https://www.youtube.com/watch?v=2lyihdFK7EE
>From the description:
Html5 Wayl
From: 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/
From: 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
From: Lyude Paul
Note that this application does not follow best practices for handling tablet
events. The events are grouped by frame, all processing should be done in the
frame instead of the respective handler.
A good toolkit would accumulate the data in the events and provide them as one
eve
From: 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 76bb38d..5d62ece
From: Lyude Paul
Store all tablets that a tool was used on in a list. When the tablet
is removed, remove all tools only seen on this tablet.
Tools without a serial number are only ever bound to one tablet.
Co-authored-by: Peter Hutterer
Signed-off-by: Lyude Paul
Signed-off-by: Peter Hutterer
From: Lyude Paul
The tablet is given a separate cursor. Most tablet interaction is an absolute
interaction and shouldn't need a cursor at all, but usually the cursor is used
to indicate the type of virtual tool currently assigned.
Co-authored-by: Peter Hutterer
Signed-off-by: Lyude Paul
Signed
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
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/
From: Lyude Paul
When it comes to a window frame, a tablet tool and cursor act almost
identical; they click things, drag things, etc. The tool type and extra
axes don't serve any use in the context of a window frame, so tablet
pointers share the frame_pointer structures used for the mouse pointer
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-shell/shel
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/c
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 +++
Hi,
The previous posting of this series was at
https://lists.freedesktop.org/archives/wayland-devel/2017-October/035534.html
which had some issues when Jason Gerecke tried to test
it.
https://lists.freedesktop.org/archives/wayland-devel/2017-November/035716.html
In this v2 series, I resolved o
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 insertio
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(
From: Lyude Paul
Introduces two new structs, weston_tablet and weston_tablet_tool with the
respective information as it's used on the protocol.
Note that tools are independent of tablets, many tools can be used across
multiple tablets.
The nesting on the protocol level requires a global tablet
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 +++
18 matches
Mail list logo