[PATCH weston] compositor-drm: cast surface to EGLNativeWindowType

2015-08-17 Thread Dawid Gajownik
gl_renderer_output_create expects `window_for_legacy' variable to be of type EGLNativeWindowType, not EGLNativeDisplayType. This variable is used later in eglCreateWindowSurface(). Signed-off-by: Dawid Gajownik gajow...@gmail.com --- src/compositor-drm.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH wayland 2/2] scanner: wrap few long lines

2015-08-17 Thread Pekka Paalanen
On Thu, 23 Jul 2015 11:19:00 -0700 Bryce Harrington br...@osg.samsung.com wrote: On Thu, Jul 16, 2015 at 01:59:05PM +0200, Marek Chalupa wrote: Wrap few long lines to the length around 80 chars Signed-off-by: Marek Chalupa mchqwe...@gmail.com How hard core are we about maintaining the

[PATCH libinput] tablet: Do not create a tablet device for Wacom touchscreens

2015-08-17 Thread Jason Gerecke
Similar to the issue mentioned in the commit message of 2365f7d, libwacom assigns both ID_INPUT_TABLET and ID_INPUT_TOUCHSCREEN to touchscreens like the Cintiq 24HDT. This patch ensures that neither touchpads nor touchscreens will accidentally be handled by the tablet code. Signed-off-by: Jason

Re: [PATCH libinput] tablet: Do not create a tablet device for Wacom touchscreens

2015-08-17 Thread Peter Hutterer
On Mon, Aug 17, 2015 at 05:29:14PM -0700, Jason Gerecke wrote: Similar to the issue mentioned in the commit message of 2365f7d, libwacom assigns both ID_INPUT_TABLET and ID_INPUT_TOUCHSCREEN to touchscreens like the Cintiq 24HDT. This patch ensures that neither touchpads nor touchscreens will

[PATCH libinput 3/6] filter: use named initalizers for the accelerator interface

2015-08-17 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/filter.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/filter.c b/src/filter.c index 7054faf..d05b53a 100644 --- a/src/filter.c +++ b/src/filter.c @@ -672,10 +672,10 @@

[PATCH libinput 2/6] test: fix edge scroll timeout test

2015-08-17 Thread Peter Hutterer
This test is supposed to test for the timeout kicking in on edge scrolling - if the finger is in the edge for longer than the timeout, we switch to scrolling without requiring the motion threshold to be met first. To emulate this, move the finger ever so slightly first to load up the motion

[PATCH libinput 6/6] touchpad: use unaccelerated motion data for scrolling

2015-08-17 Thread Peter Hutterer
For short and quick scroll gestures, those that should only trigger a few lines of scroll the pointer acceleration is wildly unpredictable. Since we average the motion of both fingers it's hard enough to intuitively predict what the motion will be like. On top of that is the small threshold before

[PATCH libinput 5/6] filter: add a filter_constant hook to the filter interface

2015-08-17 Thread Peter Hutterer
For when we need to apply some transformation to the data but it shouldn't be acceleration. Example use are touchpad coordinates, even when not accelerating, we still want to apply the magic slowdown. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Not happy with this but the only

[PATCH libinput 4/6] filter: move the TP_MAGIC_SLOWDOWN to a single definition

2015-08-17 Thread Peter Hutterer
Requires splitting out the X230 one so we don't accidentally break things if we ever change this. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/filter.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/filter.c b/src/filter.c index

[PATCH libinput 1/6] test: use the touchpad size for the 7mm movement

2015-08-17 Thread Peter Hutterer
Makes the code more straightforward, and we now require the devices to have a height/width anyway. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/touchpad.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c

Re: [PATCH weston] configure: fix enable_simple_intel_dmabuf_client=auto

2015-08-17 Thread Pekka Paalanen
On Mon, 17 Aug 2015 13:54:55 +0100 Daniel Stone dan...@fooishbar.org wrote: Hi, On 17 August 2015 at 08:27, Pekka Paalanen ppaala...@gmail.com wrote: When the user does not specify --enable nor --disable-simple-intel-dmabuf-client, we want to autodetect based on dependencies.

[PATCH wayland] Revert client: require WAYLAND_DISPLAY to be set

2015-08-17 Thread Pekka Paalanen
From: Pekka Paalanen pekka.paala...@collabora.co.uk This reverts commit fb7e13021730d0a5516ecbd3712ea4235e05d24d. Developers have been trying to reduce the number of by default required environment variables, and the mentioned commit is a step backwards in that sense. The fundamental assumption

Re: [PATCH wayland] Revert client: require WAYLAND_DISPLAY to be set

2015-08-17 Thread Ray Strode
Hi, This reverts commit fb7e13021730d0a5516ecbd3712ea4235e05d24d. thanks, you've got my vote. Acked-by: Ray Strode rstr...@redhat.com --Ray ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

Re: [PATCH weston] configure: fix enable_simple_intel_dmabuf_client=auto

2015-08-17 Thread Daniel Stone
Hi, On 17 August 2015 at 08:27, Pekka Paalanen ppaala...@gmail.com wrote: When the user does not specify --enable nor --disable-simple-intel-dmabuf-client, we want to autodetect based on dependencies. cb512c018e8db66574b4e0d1263c52a05267918c implemented this, but forgot to actually enable it

[PATCH libinput] evdev: drop relative x/y motion from a device not marked as pointer

2015-08-17 Thread Peter Hutterer
A device with REL_X/Y and keys gets marked only as ID_INPUT_KEY, initializes as keyboard and then segfaults when we send x/y coordinates - pointer acceleration never initializes. Ignore the events and log a bug instead. This intentionally only papers over the underlying issue, let's wait for a

Re: [PATCH wayland] Revert client: require WAYLAND_DISPLAY to be set

2015-08-17 Thread Bill Spitzak
On Mon, Aug 17, 2015 at 7:48 AM, Ray Strode halfl...@gmail.com wrote: Hi, This reverts commit fb7e13021730d0a5516ecbd3712ea4235e05d24d. thanks, you've got my vote. Acked-by: Ray Strode rstr...@redhat.com --Ray Seems right to me question about the method of nesting Wayland in X and X

[ANNOUNCE] weston 1.8.91

2015-08-17 Thread Bryce Harrington
This is the slightly delayed alpha release for Weston 1.9. The delay was due to a last minute feature landing that broke builds on with older dependencies and ARM. The former issue is fixed in this release; the ARM breakage is fixed in trunk and will be available in the next release. This

[PATCH weston] configure: fix enable_simple_intel_dmabuf_client=auto

2015-08-17 Thread Pekka Paalanen
From: Pekka Paalanen pekka.paala...@collabora.co.uk When the user does not specify --enable nor --disable-simple-intel-dmabuf-client, we want to autodetect based on dependencies. cb512c018e8db66574b4e0d1263c52a05267918c implemented this, but forgot to actually enable it if the autodetect comes

RE: [PATCH weston v2] ivi-shell: bugfix, an ivi_surface is not removed from list of ivi_layer when the ivi_surface is removed from the compositor.

2015-08-17 Thread Tanibata, Nobuhiko (ADITJ/SWG)
-Original Message- From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Pekka Paalanen Sent: Thursday, August 13, 2015 10:21 PM To: Nobuhiko Tanibata Cc: securitych...@denso.co.jp; wayland-devel@lists.freedesktop.org Subject: Re: [PATCH weston v2]

Re: [PATCH weston 2/2] Fix armhf configure breakage due to missing libdrm_intel package

2015-08-17 Thread Pekka Paalanen
On Sat, 15 Aug 2015 19:20:59 -0700 Bryce Harrington br...@osg.samsung.com wrote: On Fri, Aug 14, 2015 at 12:53:25PM -0700, Bryce Harrington wrote: The buildbots discovered that recent changes break on Ubuntu 15.04's armhf images: configure:16137: checking for SIMPLE_DMABUF_CLIENT