Re: How synchronisation works in Framebuffer backend

2014-03-25 Thread Sannu K
On Sat, Mar 22, 2014 at 11:10 PM, David Herrmann dh.herrm...@gmail.comwrote: It doesn't. Don't use fbdev if you want vsync. Okay. Thanks and Regards, Sannu K ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

[PATCH] protocol: Document how clients are supposed to get the xkb keycode

2014-03-25 Thread Rui Matos
This encodes what everyone is doing and avoids other implementers having to guess. --- Jasper suggested that it would be nice if the compositor sent keycodes that clients could use directly as an index in the keymap. I suppose we can't do that at this point so we should at least document it

Re: [RFCv3.1 weston] WIP protocol: add flags and refresh stream to presentation

2014-03-25 Thread Mario Kleiner
On 03/07/2014 04:09 PM, Pekka Paalanen wrote: From: Pekka Paalanen pekka.paala...@collabora.co.uk This is quick write-up of http://cgit.collabora.com/git/user/pq/weston.git/tree/buffer-queue3.txt?h=buffer-queue-spec How would this idea feel? Hi Pekka, looks good to me. Should serve the

[PATCH libinput 2/8] evdev: Avoid double touch down/up events

2014-03-25 Thread Jonas Ådahl
When the kernel sends multiple touch down or touch up for the same slot in a row, ignore any such subsequent event ensuring libinput always produces 1 x touch down - [n x touch motion] - 1 x touch up event series. Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/evdev.c | 13 + 1

[PATCH libinput 5/8] test: Check that libinput doesn't send double touch down/up events

2014-03-25 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- test/touch.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/test/touch.c b/test/touch.c index 61d8762..4a6af21 100644 --- a/test/touch.c +++ b/test/touch.c @@ -323,6 +323,47 @@

[PATCH libinput 3/8] test: Add seat slot tests

2014-03-25 Thread Jonas Ådahl
Add one test that checks uniqueness of seat slots when having multiple devices with active touch points. Add one test that checks that libinput drops touch points when it could not represent them with a seat wide slot. This commit also adds support for from a test case add test devices to an

[PATCH libinput 1/8] evdev: Don't write out of bounds when mt slot is too large

2014-03-25 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/evdev.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index 72e4086..ff8b27a 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -132,6 +132,9 @@ evdev_flush_pending_event(struct evdev_device *device,

[PATCH libinput 4/8] test: Test handling of many touch points

2014-03-25 Thread Jonas Ådahl
libinput currently handles 16 per device touch points. Test that we behave as expected when a device has an even higher number of active touch points. Signed-off-by: Jonas Ådahl jad...@gmail.com --- test/touch.c | 50 ++ 1 file changed, 50

[PATCH libinput 7/8] Make libinput.h safe to be included from C++

2014-03-25 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- src/libinput.h | 8 1 file changed, 8 insertions(+) diff --git a/src/libinput.h b/src/libinput.h index dab24b7..5599a6a 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -23,6 +23,10 @@ #ifndef LIBINPUT_H #define LIBINPUT_H +#ifdef

[PATCH libinput 6/8] test/Makefile.am: Use $(GCC_CFLAGS) from configure.ac

2014-03-25 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl jad...@gmail.com --- test/Makefile.am | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index b59d4a9..12ed023 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -2,6 +2,7 @@ if BUILD_TESTS

[PATCH libinput 8/8] test: Add include from C++ build test

2014-03-25 Thread Jonas Ådahl
--- configure.ac | 3 +++ test/Makefile.am | 10 +- test/build-cxx.cc | 11 +++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 test/build-cxx.cc diff --git a/configure.ac b/configure.ac index afd04a4..e44adcb 100644 --- a/configure.ac +++

Re: [PATCH libinput 6/8] test/Makefile.am: Use $(GCC_CFLAGS) from configure.ac

2014-03-25 Thread sardemff7+wayland
On 25/03/2014 21:45, Jonas Ådahl wrote: Signed-off-by: Jonas Ådahl jad...@gmail.com --- test/Makefile.am | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index b59d4a9..12ed023 100644 --- a/test/Makefile.am +++