Re: [PATCH wayland v5] client: extend error handling

2014-07-22 Thread Marek Chalupa
Hi, I checked e-mail before my leave to vacation and saw this message, so here's a quick response: The two questions answered Pekka (thanks). More discussion about this pthread_cond broadcasting is here: http://lists.freedesktop.org/archives/wayland-devel/2014-June/015632.html http://lists.freed

Re: [PATCH wayland v5] client: extend error handling

2014-07-22 Thread Pekka Paalanen
On Tue, 22 Jul 2014 19:44:00 -0700 Jason Ekstrand wrote: > Sorry for not looking at it. I'm mostly ok with the API so it's fine that > you pushed it. I did have a question or two though. > > > On Mon, Jul 7, 2014 at 7:28 AM, Pekka Paalanen wrote: > > > From: Marek Chalupa > > > > When an e

Re: Running wayland inside something other than monitors.

2014-07-22 Thread Pekka Paalanen
On Tue, 22 Jul 2014 23:24:35 -0400 Kyle Siefring wrote: > I've seen a few GUIs implemented in video games and they always suck. > I'm curious as to how one could get qt/gtk/ect running inside SDL. Would > it be practical to pile a modified Wayland and a modified toolkit > running inside SDL to

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

2014-07-22 Thread Peter Hutterer
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 first finger down may > >> jump when the pad switches fro

Running wayland inside something other than monitors.

2014-07-22 Thread Kyle Siefring
I've seen a few GUIs implemented in video games and they always suck. I'm curious as to how one could get qt/gtk/ect running inside SDL. Would it be practical to pile a modified Wayland and a modified toolkit running inside SDL to get this effect? I don't want to dive into a bunch of unfamilia

Keysym event in the text protocol

2014-07-22 Thread Trung Ngo
Hi guys, In the text protocol, there is a `keysym` event (and a corresponding `keysym` request in the input-method protocol). In the spec, it is used to 'notify when a key event was sent.' If I understand correctly then the whole point of this request/event pair is to fake a key press from th

Re: [PATCH wayland v5] client: extend error handling

2014-07-22 Thread Jason Ekstrand
Sorry for not looking at it. I'm mostly ok with the API so it's fine that you pushed it. I did have a question or two though. On Mon, Jul 7, 2014 at 7:28 AM, Pekka Paalanen wrote: > From: Marek Chalupa > > When an error occurs, wl_display_get_error() does not > provide any way of getting kno

[PATCH weston] libinput: Add tap configuration to weston.ini

2014-07-22 Thread Jonas Ådahl
Enable by adding the following to your weston.ini: [libinput] enable_tap=true This also makes weston require libinput >= 0.5.0. Signed-off-by: Jonas Ådahl --- configure.ac | 2 +- src/libinput-device.c | 25 + weston.ini.in | 3 +++ 3 files changed, 2

[ANNOUNCE] libinput 0.5.0

2014-07-22 Thread jadahl
A new release of libinput, 0.5, is available. There are no API breaks in this version, but there are additions. More precisely: * Device information (name, vendor id, product id) getters * The beginning of a configuration API. So far tapping on touchpads can be enabled or disabled. As a sid

[PATCH] Update SDL2 Information

2014-07-22 Thread Joel Teichroeb
--- toolkits.html | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/toolkits.html b/toolkits.html index daaeb1c..c5f3a6b 100644 --- a/toolkits.html +++ b/toolkits.html @@ -37,10 +37,7 @@ can find full details in the href="clutter.html">Clutter Wayland instructions SDL -

[PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-07-22 Thread Jonny Lamb
In the process wl_keyboard's version has been incremented. Given clients get the wl_keyboard from wl_seat without a version, wl_seat's version has also been incremented (wl_seat version 4 implies wl_keyboard version 4). --- protocol/wayland.xml | 28 ++-- 1 file changed, 26

Re: [PATCH v2 3/3] tests: use expect_protocol_error in tests

2014-07-22 Thread Pekka Paalanen
On Wed, 16 Jul 2014 11:40:25 +0200 Marek Chalupa wrote: > Turn FAIL_TESTs to TESTs. FAIL_TESTs are bad... > --- > tests/bad-buffer-test.c | 35 +-- > tests/subsurface-test.c | 40 > 2 files changed, 29 insertions(+), 46 del

Re: [PATCH v2 2/3] tests: add frame_callback_wait_nofail

2014-07-22 Thread Pekka Paalanen
On Wed, 16 Jul 2014 11:32:50 +0200 Marek Chalupa wrote: > With expect_protocol_error, we need a possibility to wait for a frame > without aborting the test when wl_display_dispatch returns -1; > This patch adds function frame_callback_wait_nofail that only > returns 1 or 0 (instead of aborting on

Re: [PATCH 1/3] tests: add expect_protocol_error function

2014-07-22 Thread Pekka Paalanen
On Wed, 16 Jul 2014 11:27:06 +0200 Marek Chalupa wrote: > This function checks if a particular protocol error came in wire. > It's usefull in the cases where we hitherto used FAIL_TEST. > The problem with FAIL_TEST is that *any* assert will pass the test, > but we want only some asserts to pass t

Re: [PATCH wayland v5] client: extend error handling

2014-07-22 Thread Pekka Paalanen
On Mon, 7 Jul 2014 17:41:25 +0300 Pekka Paalanen wrote: > On Mon, 7 Jul 2014 17:28:11 +0300 > Pekka Paalanen wrote: > > > From: Marek Chalupa > > > > When an error occurs, wl_display_get_error() does not > > provide any way of getting know if it was a local error or if it was > > an error ev

Re: [PATCH wayland] protocol: add repeat_info event to wl_keyboard

2014-07-22 Thread Giulio Camuffo
2014-07-17 0:04 GMT+03:00 Jonny Lamb : > In the process wl_keyboard's version has been incremented. Given > clients get the wl_keyboard from wl_seat without a version, wl_seat's > version has also been incremented (wl_seat version 4 implies > wl_keyboard version 4). > --- > protocol/wayland.xml |

Re: Query regarding calibration

2014-07-22 Thread Sujith H
On Mon, Jul 21, 2014 at 10:48 PM, wrote: > On Mon, Jul 21, 2014 at 07:55:10PM +0530, Sujith H wrote: > > Hi all, > > > > I am using a freescale embedded device ( imx6 series) to run weston. I am > > able to successfully run on desktop-shell as well as the ivi-shell. The > > touch is also working

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

2014-07-22 Thread Hans de Goede
Hi, On 07/22/2014 09:18 AM, 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 first finger down may >>> jump when the pad switches from st to mt mode.

Re: [PATCH libinput] test: auto-update for BTN_TOOL_* when using litest_touch_ functions

2014-07-22 Thread Hans de Goede
Hi, On 07/22/2014 02:29 AM, Peter Hutterer wrote: > Set BTN_TOUCH, BTN_TOOL_DOUBLETAP automatically depending on the number of > fingers down. > > This emulates real event sequences a bit better than the current approach, > though it's not a 100% correct emulation: > 1) On real devices, BTN_* are

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

2014-07-22 Thread Hans de Goede
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 first finger down may >> jump when the pad switches from st to mt mode. When this happens a large >> delta gets seen on the first