On Tue, Dec 19, 2017 at 10:15:06AM +0200, Pekka Paalanen wrote:
> On Mon, 18 Dec 2017 14:55:00 +0200
> Alexandros Frantzis wrote:
>
> > wl_pointer, wl_keyboard and wl_touch events currently use a 32-bit
> > timestamp with millisecond resolution. In some cases, notably latency
> > measurements, th
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: 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: 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
The tablet tool's surface and view has to be set as mapped in
tablet_tool_cursor_surface_configure API otherwise the same view
can be added more than once to the cursor layer list when set_cursor
is called by the client. This will lead to corruption of cursor layer list.
And the tablet tool's surf
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: 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
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: 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
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
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
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 +++
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
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
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
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
Hi Jason,
I found the root cause for the backtrace you shared
https://lists.freedesktop.org/archives/wayland-devel/2017-November/035964.html
The issue is that the tablet tool's surface and view is not
set as mapped in tablet_tool_cursor_surface_configure API,
so the same view can be added more th
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 +++
On Mon, 18 Dec 2017 14:55:00 +0200
Alexandros Frantzis wrote:
> wl_pointer, wl_keyboard and wl_touch events currently use a 32-bit
> timestamp with millisecond resolution. In some cases, notably latency
> measurements, this resolution is too coarse to be useful.
>
> This protocol provides additi
On Mon, 18 Dec 2017 14:11:48 +
Daniel Stone wrote:
> Hi,
>
> On 18 December 2017 at 08:24, Pekka Paalanen wrote:
> > This patch is a copy of
> > https://cgit.freedesktop.org/mesa/drm/commit/?id=7040fea0280bad527ed4b3d5eee7d7bfbf303efc
> > by Adam Jackson.
> >
> > Commit 43c5a65b034a243700cf
21 matches
Mail list logo