Re: [RFC wayland 13/18] connections: Add remote sockets

2016-02-11 Thread Pekka Paalanen
On Wed, 10 Feb 2016 11:49:05 -0600 Derek Foreman wrote: > Please forgive my mailer for what it's done to the content below. :/ > > On 10/02/16 07:33 AM, Pekka Paalanen wrote: > > On Tue, 9 Feb 2016 10:56:00 -0600 Derek Foreman > > wrote: > >

Re: [PATCH] connection: Don't add uninitialized memory as 4 byte alignment padding

2016-02-11 Thread Pekka Paalanen
On Thu, 11 Feb 2016 09:47:29 +0800 Jonas Ådahl wrote: > On Wed, Feb 10, 2016 at 12:37:43PM -0600, Derek Foreman wrote: > > On 10/02/16 09:35 AM, Jonas Ådahl wrote: > > > When we are adding padding bytes making our wl_buffer buffer content 4 > > > byte aligned, we are just

Re: [RFC wayland 01/18] shm: add getters for the fd and offset

2016-02-11 Thread Pekka Paalanen
On Wed, 10 Feb 2016 12:00:48 -0600 Derek Foreman wrote: > On 10/02/16 07:08 AM, Pekka Paalanen wrote: > > On Tue, 9 Feb 2016 10:55:48 -0600 > > Derek Foreman wrote: > > > >> From: Giulio Camuffo > >> > >> This allows

Re: [PATCH weston 1/2] simple-touch: Use damage_buffer if available

2016-02-11 Thread Giulio Camuffo
2016-02-12 6:26 GMT+02:00 Bryce Harrington : > On Fri, Jan 08, 2016 at 03:00:55PM -0600, Derek Foreman wrote: >> Signed-off-by: Derek Foreman >> --- >> clients/simple-touch.c | 18 +++--- >> 1 file changed, 15 insertions(+), 3

Re: [PATCH] server: Add get/set user data for wl_client

2016-02-11 Thread Pekka Paalanen
Hi, I think we should think this a little more. There is no absolute requirement to add a user_data member to wl_client, because you can use a destroy listener to look up your user data struct. When you attach user data, you also want to always be notified about wl_client destruction, which

[PATCH wayland-protocols] xdg-shell: Add startup notification

2016-02-11 Thread Carlos Garnacho
The xdg_launcher interface is added for the launcher, it's used to notify of the startup ID to be transmitted to the launchee, plus notifications about the startup success/failure. On the launchee side, we now have xdg_shell.set_startup_id, which will notify the compositor of startup

[PATCH wayland] server: add listener API for new clients

2016-02-11 Thread nicesj
Using display object, Emit a signal if a new client is created. In the server-side, we can get the destroy event of a client, But there is no way to get the created event of it. Of course, we can get the client object from the global registry binding callbacks. But it can be called several times

Re: [RFC wayland 01/18] shm: add getters for the fd and offset

2016-02-11 Thread Derek Foreman
On 11/02/16 02:52 AM, Pekka Paalanen wrote: > On Wed, 10 Feb 2016 12:00:48 -0600 Derek Foreman > wrote: > >> On 10/02/16 07:08 AM, Pekka Paalanen wrote: >>> On Tue, 9 Feb 2016 10:55:48 -0600 Derek Foreman >>> wrote: >>> From: Giulio Camuffo

[PATCH] clients: Use zalloc

2016-02-11 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- clients/desktop-shell.c| 3 ++- clients/fullscreen.c | 7 ++- clients/ivi-shell-user-interface.c | 3 ++- clients/multi-resource.c | 3 ++- clients/presentation-shm.c | 7 ---

[PATCH] option-parser: Handle short double-arg options

2016-02-11 Thread Bryce Harrington
weston allows both short and long style options to take arguments. In the case of short options, allow an optional space between the option name and value. E.g., previously you could launch weston this way: weston -i2 -cmyconfig.ini now you can also launch it like this: weston -i 2 -c

Re: [PATCH] connection: Don't add uninitialized memory as 4 byte alignment padding

2016-02-11 Thread Bryce Harrington
On Thu, Feb 11, 2016 at 11:34:15AM +0200, Pekka Paalanen wrote: > On Thu, 11 Feb 2016 09:47:29 +0800 > Jonas Ådahl wrote: > > > On Wed, Feb 10, 2016 at 12:37:43PM -0600, Derek Foreman wrote: > > > On 10/02/16 09:35 AM, Jonas Ådahl wrote: > > > > When we are adding padding

[PATCH libinput] touchpad: if the second finger is within 20x5mm, bias towards 2fg scrolling

2016-02-11 Thread Peter Hutterer
Scrolling is much more common than a 2fg spread gesture, so if the finger position indicates that the fingers are next to each other, switch to scrolling immediately. https://bugs.freedesktop.org/show_bug.cgi?id=93504 Signed-off-by: Peter Hutterer ---

Re: [PATCH weston 1/2] simple-touch: Use damage_buffer if available

2016-02-11 Thread Bryce Harrington
On Fri, Jan 08, 2016 at 03:00:55PM -0600, Derek Foreman wrote: > Signed-off-by: Derek Foreman > --- > clients/simple-touch.c | 18 +++--- > 1 file changed, 15 insertions(+), 3 deletions(-) Given that the demo clients exist to show the functionality of the

Re: [PATCH weston 2/2] compositor-wayland: Use damage_buffer if available

2016-02-11 Thread Bryce Harrington
On Fri, Jan 08, 2016 at 03:00:56PM -0600, Derek Foreman wrote: > Try to replace most usage of wl_surface.damage with > wl_surface.damage_buffer. Some calls are beyond our control, > such as the gl_renderer's damage handling. > > Signed-off-by: Derek Foreman Reviewed-by:

Re: [PATCH libinput] test: add tablet test for out-of-bounds motion coordinates

2016-02-11 Thread Carlos Garnacho
Hey :), On Thu, Feb 11, 2016 at 8:31 AM, Peter Hutterer wrote: > The newer Cintiqs have a minimum value of 400/400 advertised by the kernel but > the actual sensor goes past the 0/0 origin. Test this, make sure that a value > outside the boundaries generates negative mm