[PATCH libinput] test: add a semi-mt Alps test device

2014-07-23 Thread Peter Hutterer
Provides the bounding box only, with slot 0 always being the upper/left, slot 1 being the lower-right touch. This needs to use the touch_down etc. litest interfaces, which are now widened to double (leftover from 489630f58) and a device-specific private pointer in the litest device. New device fea

Re: Running wayland inside something other than monitors.

2014-07-23 Thread Pekka Paalanen
On Wed, 23 Jul 2014 22:23:38 +0200 Kalrish Bäakjen wrote: > I had the same idea, and asked in StackExchange whether it would be > possible [1]. Even after reading the answers, the idea is flying in my > mind. I am not an experienced programmer, but am anyway interested in this, > so please tell m

Re: Running wayland inside something other than monitors.

2014-07-23 Thread Kalrish Bäakjen
I had the same idea, and asked in StackExchange whether it would be possible [1]. Even after reading the answers, the idea is flying in my mind. I am not an experienced programmer, but am anyway interested in this, so please tell me if you get anything. Regards, KB 1: http://gamedev.stackexchange

Re: [PATCH weston 1/2] compositor: keep track of the weston_layer a weston_view is in

2014-07-23 Thread Giulio Camuffo
2014-07-21 23:25 GMT+03:00 Jason Ekstrand : > Guilio, > I think I figured out what bothered me about this patch. You use a > weston_layer_entry to store the list in weston_layer instead of just > wl_list. I think the code would actually be clearer if you just used > wl_list in that case. That wa

[PATCH wayland v3] client: add a public function to make a roundtrip on a custom queue

2014-07-23 Thread Giulio Camuffo
wl_display_roundtrip(display) works on the default queue. Add a parallel wl_event_queue_roundtrip(queue). --- v3: renamed wl_display_roundtrip_queue() to wl_event_queue_roundtrip() src/wayland-client.c | 29 +++-- src/wayland-client.h | 1 + 2 files changed, 24 insertion

Re: [PATCH] touchpad: reset motion history when nfingers changes on semi-mt pads

2014-07-23 Thread Hans de Goede
Hi, On 07/23/2014 07:58 AM, Peter Hutterer wrote: > On Tue, Jul 22, 2014 at 09:18:26AM +0200, Hans de Goede wrote: >> Hi, >> >> On 07/22/2014 01:34 AM, Peter Hutterer wrote: >>> On Mon, Jul 21, 2014 at 03:25:47PM +0200, Hans de Goede wrote: On semi-mt touchpads the reported position of the fi

[RFC wayland v2 1/2] connection: Move definitions

2014-07-23 Thread Boyan Ding
wayland-tracer will use them. Signed-off-by: Boyan Ding --- src/connection.c | 18 +++--- src/wayland-private.h | 18 +- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/src/connection.c b/src/connection.c index f292853..79197c9 100644 --- a/src/c

[RFC wayland v2 0/2] Wayland protocol dumper

2014-07-23 Thread Boyan Ding
The v2 of patches sees a lot of new code and the most notable change is the introduction of "server mode". Under server mode, the program will act as a wayland server and can accept multiple clients via WAYLAND_DISPLAY variable. An interesting usecase of this feature is to trace all clients of a co

[RFC wayland v2 2/2] Add a wayland protocol dumper wayland-tracer

2014-07-23 Thread Boyan Ding
Signed-off-by: Boyan Ding --- .gitignore | 1 + Makefile.am | 10 + configure.ac | 7 + src/tracer.c | 689 +++ 4 files changed, 707 insertions(+) create mode 100644 src/tracer.c diff --git a/.gitignore b/.gitignore index c146bac..