Re: [PATCH weston] build: install a login manager session entry

2015-02-05 Thread Pekka Paalanen
On Wed, 21 Jan 2015 12:53:23 +0100 sardemff7+wayl...@sardemff7.net wrote: > On 2015-01-21 04:46, Bryce Harrington wrote: > > On Sun, Dec 28, 2014 at 02:20:49PM +0100, Lubomir Rintel wrote: > >> This makes it possible to run Weston session from GDM (and possibly > >> other login managers). > >> ---

Re: [weston1.5]Question about HardKey input monitor with wayland/weston

2015-02-05 Thread Pekka Paalanen
On Thu, 15 Jan 2015 07:20:21 + Yang Andy wrote: > Hi Pekka > > Thank you for your reply. > > >I think you have a fundamental problem here: global hotkeys cannot > >be in any way associated with keyboard focus. That is their whole > >point: they must work without any focus. So a design that

Re: [weston, v2, 17/17] configure: add an option to allow building only the libraries

2015-02-05 Thread Pekka Paalanen
On Thu, 05 Feb 2015 11:10:11 -0800 Bill Spitzak wrote: > Is there a reason not to just say that libweston must be statically > linked? That should remove any abi issues. It's just supposed to be a > set of helper functions to make wayland servers, right? I don't think that works because of the

[PATCH] ivi-shell: SEGV occurs when multi touch happens in transition

2015-02-05 Thread Nobuhiko Tanibata
of application launching. This is because cancel callback is mistakenly set to weston_touch_grab_interface. To fix this issue, add a callback, touch_move_workspace_grab_frame and set it to the weston_touch_grab_interface like desktop-shell. Signed-off-by: Nobuhiko Tanibata --- ivi-shell/hmi-cont

RE: [ANNOUNCE] weston 1.6.92

2015-02-05 Thread Tanibata, Nobuhiko (ADITJ/SWG)
Hi, I verified ivi-shell part by manual with this version, 1.6.92, as well about, - Window management of hmi-controller; tiling, side by side, maximum, and randow. - Examples behavior. All samples work fine on ivi-shell. - Animation behavior when layout change happesn. - Application invoking and

Re: [PATCH v3 libinput] add simple symbols leak checker

2015-02-05 Thread Peter Hutterer
On Thu, Feb 05, 2015 at 09:33:19AM +0100, Marek Chalupa wrote: > This patch adds simple script that compares libinput.sym file to the > functions that are marked by LIBINPUT_EXPORT. This script is added > to make check target. > > v2. use noinst_SCRIPTS instead of dummy target > drop .sh suffi

Re: libinput: disabling touchpad motion without disabling scrolling?

2015-02-05 Thread Peter Hutterer
On Sat, Jan 31, 2015 at 03:12:09PM -0800, Josh Triplett wrote: > Is it possible to disable touchpad motion events without disabling > scrolling? > > On a laptop with both a touchstick and a touchpad, I'd like to use a > touchpad as a scroll wheel, but not have it generate any motion events. > > (

[PATCH weston v3] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jonas Ådahl
If a client calls xdg_shell.get_xdg_surface on a surface that is already an xdg_surface would, prior to this patch, succeed, but cause weston to crash later when trying to configure. This patch instead sends a role error to the client complaining that it already is an xdg_surface. Note that .._set

[PATCH wayland v5] tests: Fix FAIL in sanity-test (*timeout*) when Yama LSM enabled

2015-02-05 Thread Bryce Harrington
This fixes a regression in the testsuite since c3653f7f, where four of the timeout tests fail with "Timeouts suppressed" messages. The timeouts are being suppressed because the testsuite is erroneously detecting that a debugger is attached. This detection mechanism (adopted from libinput) uses pt

Re: Thinkpad fingerprint

2015-02-05 Thread Titus Johnson
fingerprint sensor functionality please. On 02/05/2015 07:58 PM, wayland-devel-requ...@lists.freedesktop.org wrote: Send wayland-devel mailing list submissions to wayland-devel@lists.freedesktop.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.freedeskt

Re: [PATCH libinput] Introduce device groups to group logical devices together

2015-02-05 Thread Peter Hutterer
On Thu, Feb 05, 2015 at 07:14:54PM +0800, Jonas Ådahl wrote: > On Thu, Feb 05, 2015 at 02:30:58PM +1000, Peter Hutterer wrote: > > Devices like Wacom tablets have multiple event nodes (touch, pad and > > stylus). > > This requires some logical grouping, e.g. setting an Intuos 5 tablet > > left-han

[ANNOUNCE] libinput 0.10.0

2015-02-05 Thread Peter Hutterer
A new release of libinput, 0.10, is available. This release is ABI-compatible with libinput 0.9, nothing was added. Two bugfixes comprise the majority of this release: * A call to libinput_device_config_accel_set_speed() with a value of NAN triggered an assert() in libinput. Thanks to Olivier f

Re: [PATCH libinput v2] Fix an abort if the device speed is NaN

2015-02-05 Thread Peter Hutterer
On Thu, Feb 05, 2015 at 02:33:31PM +0100, Olivier Fourdan wrote: > When using libinput with xf86-input-libinput, the device speed is > represented as a float passed via X properties. > > If a buggy client gives a broken value, the conversions that occur > can cause the value of speed to be NaN (no

Re: [PATH wayland] allow to set server socket dir on a different directory than XDG_RUNTIME_DIR

2015-02-05 Thread Bettio, Davide
Hello, Il 2015-02-05 19:31 Bryce Harrington ha scritto: On Thu, Feb 05, 2015 at 11:14:09AM +0100, Bettio, Davide wrote: commit 68beb2b60f851c74b982b0a23da4bb1ce375efcf Author: Davide Bettio Date: Wed Feb 4 13:46:19 2015 +0100 Allow to explicitly set wayland server socket dir using WAYLA

Re: [PATCH weston v2] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jasper St. Pierre
The issue isn't "there's already a role". The issue is that we don't allow two xdg_surface proxies for the same surface (a currently-undocumented but sane limitation). For pretty much any other surface role, allowing the surface to re-gain its role is a feature, not a bug. On Thu, Feb 5, 2015 at 1

Re: [PATCH wayland-web V2] doc: Update ubuntu12.04 instructions to build expat from source

2015-02-05 Thread Bryce Harrington
On Thu, Feb 05, 2015 at 02:42:26PM -0800, Bill Spitzak wrote: > Uses the tar file from the sourceforge repository. This avoids use of cvs > which would otherwise have to be installed. > > The main purpose of this is to get a working pkg-config so the new > autoconf for wayland works, but since thi

[PATCH wayland-web V2] doc: Update ubuntu12.04 instructions to build expat from source

2015-02-05 Thread Bill Spitzak
Uses the tar file from the sourceforge repository. This avoids use of cvs which would otherwise have to be installed. The main purpose of this is to get a working pkg-config so the new autoconf for wayland works, but since this updates from expat 1.6.0 to 2.1.0 it seems like a good idea. --- ubun

Re: [PATCH weston] Update .gitignore

2015-02-05 Thread Bryce Harrington
On Thu, Feb 05, 2015 at 03:58:14PM -0600, Derek Foreman wrote: > Looks fine to me. > > Reviewed-by: Derek Foreman Thanks, applied. d540f4b..7b9efcb master -> master > On 05/02/15 09:31 AM, Daniel Stone wrote: > > Add autotools remnants, as well as more comprehensive vim swapfiles, > > Su

Re: [PATCH weston] Update .gitignore

2015-02-05 Thread Derek Foreman
Looks fine to me. Reviewed-by: Derek Foreman On 05/02/15 09:31 AM, Daniel Stone wrote: > Add autotools remnants, as well as more comprehensive vim swapfiles, > Sublime Text configuration, and git format-patch output. > > Signed-off-by: Daniel Stone > --- > .gitignore | 12 > 1 fi

Re: [PATCH weston v2] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Bill Spitzak
How about a wrapper function around weston_surface_set_role that always fails if there is a non-zero role, and then call that? You can then gradually transition all the other calls to this new one, and if they are all changed then remove the old function. On 02/05/2015 05:21 AM, Jonas Ådahl wr

Re: [PATCH weston] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jasper St. Pierre
On Thu, Feb 5, 2015 at 5:11 AM, Daniel Stone wrote: > Hi, > > On 5 February 2015 at 08:58, Jonas Ådahl wrote: > > If a client calls xdg_shell.get_xdg_surface on a surface that is already > > an xdg_surface wold, prior to this patch, succeed, but cause weston to > > crash later when trying to con

Re: [PATCH libinput v2] Fix an abort if the device speed is NaN

2015-02-05 Thread Bill Spitzak
On 02/05/2015 05:33 AM, Olivier Fourdan wrote: When using libinput with xf86-input-libinput, the device speed is represented as a float passed via X properties. If a buggy client gives a broken value, the conversions that occur can cause the value of speed to be NaN (not a number), aka infinit

Re: [weston, v2, 17/17] configure: add an option to allow building only the libraries

2015-02-05 Thread Bill Spitzak
Is there a reason not to just say that libweston must be statically linked? That should remove any abi issues. It's just supposed to be a set of helper functions to make wayland servers, right? On 02/05/2015 12:37 AM, Pekka Paalanen wrote: On Wed, 28 Jan 2015 11:13:39 +0200 Giulio Camuffo wro

Re: [PATCH V4] configure.ac: Fallback to older detection code if pkg-config can't find expat

2015-02-05 Thread Bill Spitzak
I was pretty much giving up on this and trying to add instructions on how to build expat from scratch to the build instructions. I was just restoring text that was there before, but unfortunatly that old version was apparently not proper autoconf. I did not want to debug autoconf either. On

Re: [PATCH weston] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Bryce Harrington
On Thu, Feb 05, 2015 at 04:58:05PM +0800, Jonas Ådahl wrote: > If a client calls xdg_shell.get_xdg_surface on a surface that is already > an xdg_surface wold, prior to this patch, succeed, but cause weston to s/wold/would/ > crash later when trying to configure. This patch instead sends a role >

Re: [PATH wayland] allow to set server socket dir on a different directory than XDG_RUNTIME_DIR

2015-02-05 Thread Bryce Harrington
On Thu, Feb 05, 2015 at 11:14:09AM +0100, Bettio, Davide wrote: > commit 68beb2b60f851c74b982b0a23da4bb1ce375efcf > Author: Davide Bettio > Date: Wed Feb 4 13:46:19 2015 +0100 > > Allow to explicitly set wayland server socket dir using > WAYLAND_SERVER_SOCKET_DIR Could you elaborate furthe

[PATH wayland] allow clients to connect to a socket located on a different dir than XDG_RUNTIME_DIR

2015-02-05 Thread Bettio, Davide
commit 1ebae6d4f27ff0d336f2df0b8821099d2b2e510e Author: Davide Bettio Date: Thu Feb 5 17:04:42 2015 +0100 Added support to optionally use WAYLAND_CLIENT_SERVER_SOCKET_DIR instead of XDG_DIR. WAYLAND_CLIENT_SERVER_SOCKET_DIR should not to be confused with WAYLAND_SERVER_SOCKET_DIR.

libinput: disabling touchpad motion without disabling scrolling?

2015-02-05 Thread Josh Triplett
Is it possible to disable touchpad motion events without disabling scrolling? On a laptop with both a touchstick and a touchpad, I'd like to use a touchpad as a scroll wheel, but not have it generate any motion events. (Bonus if I could then scroll with one finger rather than a two-finger gesture

[PATCH weston] Update .gitignore

2015-02-05 Thread Daniel Stone
Add autotools remnants, as well as more comprehensive vim swapfiles, Sublime Text configuration, and git format-patch output. Signed-off-by: Daniel Stone --- .gitignore | 12 1 file changed, 12 insertions(+) diff --git a/.gitignore b/.gitignore index 2aaeac9..aa24f9a 100644 --- a/.

Re: [PATCH] touchpad: if no touches assume left click under clickfinger method

2015-02-05 Thread Bobby Powers
Hello, On Thu, Feb 5, 2015 at 6:07 AM, Hans de Goede wrote: > I do have 2 requests: ... >> - if (button == 0) { >> + if (button == 0 && tp->buttons.click_method != >> LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER) { > > > 1) This line is longer then 80 chars, please break i

[PATCH libinput v2] Fix an abort if the device speed is NaN

2015-02-05 Thread Olivier Fourdan
When using libinput with xf86-input-libinput, the device speed is represented as a float passed via X properties. If a buggy client gives a broken value, the conversions that occur can cause the value of speed to be NaN (not a number), aka infinity. In C, any comparison with NaN always gives fals

Re: [PATCH libinput] Do not abort on invalid speed.

2015-02-05 Thread Olivier Fourdan
On 05/02/15 11:26, Olivier Fourdan wrote:> On 05/02/15 02:30, Peter Hutterer wrote: >> On Wed, Feb 04, 2015 at 04:45:37PM -0500, Olivier Fourdan wrote: >>> Hi Peter, >>> >>> Just to clarify, evdev_accel_config_set_speed() calls filter_set_speed() >>> which calls accelerator_set_speed() which re

[PATCH weston v2] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jonas Ådahl
If a client calls xdg_shell.get_xdg_surface on a surface that is already an xdg_surface wold, prior to this patch, succeed, but cause weston to crash later when trying to configure. This patch instead sends a role error to the client complaining that it already is an xdg_surface. Note that .._set_

Re: [PATCH weston] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jonas Ådahl
On Thu, Feb 05, 2015 at 01:11:54PM +, Daniel Stone wrote: > Hi, > > On 5 February 2015 at 08:58, Jonas Ådahl wrote: > > If a client calls xdg_shell.get_xdg_surface on a surface that is already > > an xdg_surface wold, prior to this patch, succeed, but cause weston to > > crash later when tryi

Re: [PATCH weston] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Daniel Stone
Hi, On 5 February 2015 at 08:58, Jonas Ådahl wrote: > If a client calls xdg_shell.get_xdg_surface on a surface that is already > an xdg_surface wold, prior to this patch, succeed, but cause weston to > crash later when trying to configure. This patch instead sends a role > error to the client com

Re: [PATH wayland] allow to set server socket dir on a different directory than XDG_RUNTIME_DIR

2015-02-05 Thread Daniel Stone
On 5 February 2015 at 10:14, Bettio, Davide wrote: > commit 68beb2b60f851c74b982b0a23da4bb1ce375efcf > Author: Davide Bettio > Date: Wed Feb 4 13:46:19 2015 +0100 > > Allow to explicitly set wayland server socket dir using > WAYLAND_SERVER_SOCKET_DIR Reviewed-by: Daniel Stone

Re: [PATCH libinput] Introduce device groups to group logical devices together

2015-02-05 Thread Jonas Ådahl
On Thu, Feb 05, 2015 at 02:30:58PM +1000, Peter Hutterer wrote: > Devices like Wacom tablets have multiple event nodes (touch, pad and stylus). > This requires some logical grouping, e.g. setting an Intuos 5 tablet > left-handed effectively turns it upside down. That then applies to both the > styl

Re: [PATCH] touchpad: if no touches assume left click under clickfinger method

2015-02-05 Thread Hans de Goede
Hi, On 05-02-15 06:13, Bobby Powers wrote: On the 3rd gen x1 carbons, if your finger is at the very bottom of the touchpad, you can click the touchpad without it registering your finger as a touch down. Treat this case the same as a single-finger left click, which matches my intention. Signed-

Re: [PATCH libinput] Introduce device groups to group logical devices together

2015-02-05 Thread Hans de Goede
Hi, On 05-02-15 05:30, Peter Hutterer wrote: Devices like Wacom tablets have multiple event nodes (touch, pad and stylus). This requires some logical grouping, e.g. setting an Intuos 5 tablet left-handed effectively turns it upside down. That then applies to both the stylus and the touch device.

[PATCH v2 libinput 1/2] evdev: retrieve udev tags

2015-02-05 Thread Peter Hutterer
From: Benjamin Tissoires udev already tags the devices by opening each of them and analyzing their features. We are basically re-doing this in libinput. The advantage of udev tags over the plain heuristic from libinput is that users (or driver writers) can force some tags that are not detected b

[PATCH libinput 2/2] evdev: switch to using udev's device tagging system

2015-02-05 Thread Peter Hutterer
Use ID_INPUT_FOO to assume a device is a FOO, don't decide ourselves based on whatever bits are available. This moves the categorization out to udev's input_id builtin by default and other bits that tag the device. libwacom tags all known devices as ID_INPUT_TABLET and (for touch-enabled ones) ID_I

Re: [PATCH libinput] Do not abort on invalid speed.

2015-02-05 Thread Olivier Fourdan
Hey Peter, On 05/02/15 02:30, Peter Hutterer wrote: On Wed, Feb 04, 2015 at 04:45:37PM -0500, Olivier Fourdan wrote: Hi Peter, Just to clarify, evdev_accel_config_set_speed() calls filter_set_speed() which calls accelerator_set_speed() which reaches the assert(). My patch basically removes th

[PATH wayland] allow to set server socket dir on a different directory than XDG_RUNTIME_DIR

2015-02-05 Thread Bettio, Davide
commit 68beb2b60f851c74b982b0a23da4bb1ce375efcf Author: Davide Bettio Date: Wed Feb 4 13:46:19 2015 +0100 Allow to explicitly set wayland server socket dir using WAYLAND_SERVER_SOCKET_DIR diff --git a/src/wayland-server.c b/src/wayland-server.c index 674aeca..7eaba9e 100644 --- a/src/wa

[PATCH weston] desktop-shell: Fail if get_xdg_surface is called on an xdg_surface

2015-02-05 Thread Jonas Ådahl
If a client calls xdg_shell.get_xdg_surface on a surface that is already an xdg_surface wold, prior to this patch, succeed, but cause weston to crash later when trying to configure. This patch instead sends a role error to the client complaining that it already is an xdg_surface. Note that .._set_

Patch queue status for 1.7.0

2015-02-05 Thread Bryce Harrington
Hi all, We're entering the final stretch for 1.7.0, and I wanted to give an overview of where the patch review queue is at. Broadly, for the release I think we're in good shape. All urgent patches have landed, as have anything that is either trivial or obviously safe. Even a number of non-trivi

Re: [weston, v2, 17/17] configure: add an option to allow building only the libraries

2015-02-05 Thread Pekka Paalanen
On Wed, 28 Jan 2015 11:13:39 +0200 Giulio Camuffo wrote: > 2015-01-27 22:43 GMT+02:00 Bryce Harrington : > > On Thu, Dec 04, 2014 at 11:01:23PM +0200, Giulio Camuffo wrote: > >> the --enable/disable-weston-binaries emable or disable the creation > >> of the 'weston', 'weston-launch' and all the b

[PATCH v3 libinput] add simple symbols leak checker

2015-02-05 Thread Marek Chalupa
This patch adds simple script that compares libinput.sym file to the functions that are marked by LIBINPUT_EXPORT. This script is added to make check target. v2. use noinst_SCRIPTS instead of dummy target drop .sh suffix generate the script from .in file use -u swich when running diff

Re: [PATCH v2 libinput] add simple symbols leak checker

2015-02-05 Thread Marek Chalupa
On Mon, Feb 2, 2015 at 11:48 PM, Peter Hutterer wrote: > On Mon, Feb 02, 2015 at 01:16:23PM +0100, Marek Chalupa wrote: > > This patch adds simple script that compares libinput.sym file to the > > functions that are marked by LIBINPUT_EXPORT. This script is added > > to make check target. > > > >