Re: [PATCH wayland 1/2] protocol: document error cases with wl_shm_pool.create_buffer

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 12:08:15 +0200 Jonny Lamb wrote: > This already happens in weston. > --- > protocol/wayland.xml | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/protocol/wayland.xml b/protocol/wayland.xml > index 22eb6e7..3091d83 100644 > --- a/protocol/wayland.xml > +++ b/prot

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Peter Hutterer
On Mon, Jun 02, 2014 at 10:01:20PM -0700, Thiago Macieira wrote: > Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu: > > Avoids having to #define any values we're trying to use. > > > > Header file is from Linux 3.15-rc8. > > > > Signed-off-by: Peter Hutterer > > Wouldn't this be time a

Re: [PATCH wayland-web 4/7] Added page of Ubuntu12.04 specific directions

2014-06-02 Thread Bryce W. Harrington
On Fri, May 30, 2014 at 02:12:32PM -0700, Bill Spitzak wrote: > From: Bill Spitzak > > --- > building.html| 19 +++- > ubuntu12.04.html | 291 > ++ > 2 files changed, 307 insertions(+), 3 deletions(-) > create mode 100644 ubuntu12.04.h

Re: [PATCH weston] xdg-shell: add description tags where missing

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 11:52:29 +0200 Jonny Lamb wrote: > wayland.dtd specifies the use of the description tags inside entry so > let's use them. > --- > protocol/xdg-shell.xml | 30 +++--- > 1 file changed, 19 insertions(+), 11 deletions(-) > > diff --git a/protocol/xdg-sh

RE: [PATCH] weston: Fix memleak issue in compositor.c

2014-06-02 Thread Srivardhan
Hi, Has someone looked into reviewing this patch? May I know if it requires any change? Thank-you, Hebbar > -Original Message- > From: wayland-devel [mailto:wayland-devel- > boun...@lists.freedesktop.org] On Behalf Of Srivardhan Hebbar > Sent: Tuesday, May 27, 2014 2:31 PM > To: wayland-

[PATCH libinput 08/10] Add a config API for disable-while-typing

2014-06-02 Thread Peter Hutterer
--- src/libinput-private.h | 9 src/libinput.c | 33 + src/libinput.h | 56 ++ 3 files changed, 98 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-private.h index 85113bd..9a3e62

[PATCH libinput 10/10] Add config api for middle button emulation

2014-06-02 Thread Peter Hutterer
--- src/libinput-private.h | 8 src/libinput.c | 33 ++ src/libinput.h | 54 ++ 3 files changed, 95 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-private.h index 0de..28f07

[PATCH libinput 09/10] Add config API for pointer modes

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput-private.h | 9 ++ src/libinput.c | 37 src/libinput.h | 77 ++ 3 files changed, 123 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-privat

[PATCH libinput 07/10] Add a basic pointer acceleration API

2014-06-02 Thread Peter Hutterer
Only exposes two knobs - speed and precision which have historically been the only two knobs exposed anyway on most UIs. We could go for something fancier but really, I think this will be enough. The only open question is whether speed will be enough for high-dpi devices. Signed-off-by: Peter Hut

[RFC libinput 00/10] Add a configuration interface

2014-06-02 Thread Peter Hutterer
This is not finished just yet, but I figured I might as well send what I have locally for some early feedback. The tapping and scrolling is already hooked into the touchpad code (even though scrolling is hardcoded), the rest is pretty much just there to show how the config interface would look lik

[PATCH libinput 05/10] touchpad: hook up scroll config

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 43 +++ src/evdev-mt-touchpad.h | 1 + 2 files changed, 44 insertions(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 26d5f7d..c1c994a 100644 --- a/src/evdev-mt-touchpad.c

[PATCH libinput 06/10] Add a config interface to change device rotation

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput-private.h | 9 +++ src/libinput.c | 33 src/libinput.h | 69 ++ 3 files changed, 111 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-priva

[PATCH libinput 02/10] Add an interface to enable/disable tapping

2014-06-02 Thread Peter Hutterer
Provide an interface to enable/disable tapping, with a default mapping of 1/2/3 fingers mapping to L/R/M button events, respectively. Signed-off-by: Peter Hutterer --- src/libinput-private.h | 13 + src/libinput.c | 33 +++ src/libinput.h | 73

[PATCH libinput 04/10] Add a config interface for scroll methods

2014-06-02 Thread Peter Hutterer
--- src/libinput-private.h | 9 ++ src/libinput.c | 35 src/libinput.h | 74 ++ 3 files changed, 118 insertions(+) diff --git a/src/libinput-private.h b/src/libinput-private.h index 020167e..d3570a4 1006

[PATCH libinput 01/10] Add an enum for configuration return codes

2014-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput.h | 32 1 file changed, 32 insertions(+) diff --git a/src/libinput.h b/src/libinput.h index d771e21..c9ec71a 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -1330,6 +1330,38 @@ int libinput_device_has_capability

[PATCH libinput 03/10] touchpad: hook up to the tapping configuration

2014-06-02 Thread Peter Hutterer
Now that we have run-time changes of the tap.enabled state move the check to the IDLE state only. Otherwise the tap machine may hang if tapping is disabled while a gesture is in progress. Two basic tests are added to check for the tap default setting - which is now "tap disabled by default", becau

Re: [PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Thiago Macieira
Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu: > Avoids having to #define any values we're trying to use. > > Header file is from Linux 3.15-rc8. > > Signed-off-by: Peter Hutterer Wouldn't this be time as well to start using a different include than ? -- Thiago Macieira - thiago (

Re: [RFC libinput] Use floating point numbers instead of fixed point numbers

2014-06-02 Thread Peter Hutterer
On Mon, Jun 02, 2014 at 11:42:10PM +0200, Jonas Ådahl wrote: > Fixed point numbers can easily overflow, and double to fixed point > conversion is lossy. Use floating point (double) where fixed point > numbers where previously used and remove the li_fixed_t type. > > Signed-off-by: Jonas Ådahl > -

Re: Weston multitouch support?

2014-06-02 Thread Peter Hutterer
On Mon, Jun 02, 2014 at 12:45:51PM +0100, José Expósito wrote: > Hi Peter, > > I have checked the libinput implementation and, correct me if I'm wrong, I > have seen that 2 fingers click is interpreted as right click, 3 fingers > click is interpreted as middle click and there are some special rul

[PATCH libinput] Add our own version of linux/input.h

2014-06-02 Thread Peter Hutterer
Avoids having to #define any values we're trying to use. Header file is from Linux 3.15-rc8. Signed-off-by: Peter Hutterer --- include/linux/input.h | 1174 +++ src/Makefile.am |6 +- src/evdev-mt-touchpad-buttons.c |4 - src

[PATCH clutter] evdev: Used floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
--- clutter/evdev/clutter-device-manager-evdev.c | 40 ++-- clutter/evdev/clutter-input-device-evdev.h | 2 -- 2 files changed, 14 insertions(+), 28 deletions(-) diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c in

[PATCH xf86-input-libinput] Use floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/libinput.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/libinput.c b/src/libinput.c index 9221ec7..1851157 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -347,14 +347,14 @@ xf86libinput_handle_motion(InputIn

[PATCH weston] libinput: Use floating point instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- src/libinput-device.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/src/libinput-device.c b/src/libinput-device.c index 4605a76..2ba4ec3 100644 --- a/src/libinput-device.c +++ b/src/libinput-device.c @@ -73,11 +73,1

[RFC libinput] Use floating point numbers instead of fixed point numbers

2014-06-02 Thread Jonas Ådahl
Fixed point numbers can easily overflow, and double to fixed point conversion is lossy. Use floating point (double) where fixed point numbers where previously used and remove the li_fixed_t type. Signed-off-by: Jonas Ådahl --- It has been brought up a couple of times that it might not be the bes

Re: [PATCH 2/2] libinput: evdev.c: provide fallback definition for KEY_MICMUTE

2014-06-02 Thread Jonas Ådahl
On Mon, Jun 02, 2014 at 11:11:31PM +0200, Peter Korsgaard wrote: > KEY_MICMUTE was added relatively recently (3.1 with 33009557bd: Add > KEY_MICMUTE and enable it on Lenovo X220), so provide a fallback definition > similar to how we do it for KEY_LIGHTS_TOGGLE to fix compilation with older > toolch

[PATCH 1/2] libinput: evdev.c: use correct fallback value for KEY_LIGHTS_TOGGLE

2014-06-02 Thread Peter Korsgaard
The kernel defines KEY_LIGHTS_TOGGLE as 0x21e, not 0x160 (which is KEY_OK). Signed-off-by: Peter Korsgaard --- src/evdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev.c b/src/evdev.c index ed5749e..3053764 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -42,7 +42,

[PATCH 2/2] libinput: evdev.c: provide fallback definition for KEY_MICMUTE

2014-06-02 Thread Peter Korsgaard
KEY_MICMUTE was added relatively recently (3.1 with 33009557bd: Add KEY_MICMUTE and enable it on Lenovo X220), so provide a fallback definition similar to how we do it for KEY_LIGHTS_TOGGLE to fix compilation with older toolchains. Signed-off-by: Peter Korsgaard --- src/evdev.c | 4 1 file

Re: Getting egl clients to work

2014-06-02 Thread Bill Spitzak
I recompiled mesa with --enable-gallium-egl (is there a reason this is disabled in the build instructions?). This certainly had some effect but the egl test program still fails: $ weston/weston-simple-egl ... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search pa

Re: [PATCH libinput 0/24] Tablet support

2014-06-02 Thread Jonas Ådahl
On Mon, Jun 02, 2014 at 10:25:02AM -0700, Bill Spitzak wrote: > On 06/01/2014 09:18 PM, Peter Hutterer wrote: > > >libinput doesn't communicate over the wire, li_fixed_t is a leftover from > >libinput being part of weston. Switching that to double would indeed make > >things a lot easier and decou

Re: Getting egl clients to work

2014-06-02 Thread Pekka Paalanen
On Mon, 02 Jun 2014 10:46:29 -0700 Bill Spitzak wrote: > Actually all I am trying to do is get software EGL to work. I did > not think there was a chance at all that the nVidia drivers could > be used. But maybe it is a possibility... > > > Sounds like you are using Mesa (software renderer) on y

Re: Getting egl clients to work

2014-06-02 Thread Bill Spitzak
Actually all I am trying to do is get software EGL to work. I did not think there was a chance at all that the nVidia drivers could be used. But maybe it is a possibility... Sounds like you are using Mesa (software renderer) on your system otherwise using Nvidia proprietary stack (right?). Y

Re: Build steps

2014-06-02 Thread Bill Spitzak
You may want to look at my attempts to update this, including a file listing exactly what I typed into an (old) Ubuntu machine to get it to compile. Look for [PATCH wayland-web 0/7] email. You will have to git clone the wayland-web package and apply these packages (save all the email and then

Re: [PATCH wayland-web 0/7] Version 5 of build instructions patch

2014-06-02 Thread Bill Spitzak
On 06/01/2014 12:59 AM, Pekka Paalanen wrote: On Fri, 30 May 2014 14:12:28 -0700 Bill Spitzak wrote: This is a duplicate posting but I removed the in-reply-to because that seems to have hidden it, as there have been no comments. You can go look at http://lists.freedesktop.org/archives/wayl

Re: [PATCH libinput 0/24] Tablet support

2014-06-02 Thread Bill Spitzak
On 06/01/2014 09:18 PM, Peter Hutterer wrote: libinput doesn't communicate over the wire, li_fixed_t is a leftover from libinput being part of weston. Switching that to double would indeed make things a lot easier and decouple libinput from wl-protocol-specific things. I'd be all up for it, tho

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

2014-06-02 Thread Giulio Camuffo
2014-06-02 9:36 GMT+02:00 Pekka Paalanen : > On Mon, 2 Jun 2014 10:22:40 +0300 > Pekka Paalanen wrote: > >> On Fri, 30 May 2014 11:32:25 +0200 >> Jonny Lamb wrote: >> >> > In the process wl_keyboard's version has been incremented. Given >> > clients get the wl_keyboard from wl_seat without a vers

Re: [PATCH 0/2] RDP Keyboard

2014-06-02 Thread Hardening
Le 26/05/2014 17:22, Hardening a écrit : > I'm resending this serie of patches that are related to keyboard with the RDP > compositor. The first one make weston support more RDP keyboard (RDP to Xkb > convertion). The second make use of buildin FreeRDP functions instead of > reinventing > the whee

[PATCH weston client window] Fixed the input region of the popup menu

2014-06-02 Thread Tomek Obrebski
Changed the input region of the menu popup window to exclude the shadow and border regions and set to frame's internal region only. Regards, blsd --- clients/window.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index b82a93e..

Re: Weston multitouch support?

2014-06-02 Thread José Expósito
Hi Peter, I have checked the libinput implementation and, correct me if I'm wrong, I have seen that 2 fingers click is interpreted as right click, 3 fingers click is interpreted as middle click and there are some special rules for specified trackpads, like corner clicks. Does that mean that the

Re: Build steps

2014-06-02 Thread Daniel Stone
On 2 June 2014 08:44, Kishore Divvela -ERS, HCL Tech wrote: >Can I use the build steps which is available in > http://wayland.freedesktop.org/building.html. > Yes. ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.free

Build steps

2014-06-02 Thread Kishore Divvela -ERS, HCL Tech
Hi Daniel, Can I use the build steps which is available in http://wayland.freedesktop.org/building.html. Regards, Kishore ::DISCLAIMER:: The con

Re: [PATCH weston] input: send wl_keyboard.repeat_info with rate and delay info

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 11:32:24 +0200 Jonny Lamb wrote: > The compositor reads the values out from weston.ini, the weston > compositor passes on the values, the weston-info client prints out the > values, and the values are respected in toytoolkit. > --- > clients/weston-info.c| 106 >

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

2014-06-02 Thread Pekka Paalanen
On Mon, 2 Jun 2014 10:22:40 +0300 Pekka Paalanen wrote: > On Fri, 30 May 2014 11:32:25 +0200 > Jonny Lamb wrote: > > > 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

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

2014-06-02 Thread Pekka Paalanen
On Fri, 30 May 2014 11:32:25 +0200 Jonny Lamb wrote: > 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). > --- > protoco