[PATCH] compositor: update the surface size when there is a size change without a buffer attach

2014-06-13 Thread George Kiagiadakis
This fixes at least the case where you want to do wl_viewport.set_destination to resize the surface but without attaching new content in it. --- src/compositor.c | 60 +++- src/compositor.h | 2 ++ 2 files changed, 48 insertions(+), 14 deletions

[PATCH] compositor: unmap subsurface views before destroying the subsurfaces

2014-06-13 Thread George Kiagiadakis
This is to avoid recursing into weston_compositor_build_view_list() and therefore fix crashing when destroying a stack of visible subsurfaces due to weston_compositor_build_view_list() being called recursively and corrupting the lists it works on. https://bugs.freedesktop.org/show_bug.cgi?id=79684

Re: Wayland generic dmabuf protocol

2014-06-13 Thread Pekka Paalanen
On Fri, 13 Jun 2014 07:47:54 -0400 Rob Clark wrote: > On Fri, Jun 13, 2014 at 7:04 AM, Pekka Paalanen wrote: > > On Mon, 9 Jun 2014 14:06:33 +0300 > > Pekka Paalanen wrote: > > > >> On Mon, 9 Jun 2014 11:00:04 +0200 > >> Benjamin Gaignard wrote: > >> > >> > On my hardware the patches you have

Re: Wayland generic dmabuf protocol

2014-06-13 Thread Rob Clark
On Fri, Jun 13, 2014 at 7:04 AM, Pekka Paalanen wrote: > On Mon, 9 Jun 2014 14:06:33 +0300 > Pekka Paalanen wrote: > >> On Mon, 9 Jun 2014 11:00:04 +0200 >> Benjamin Gaignard wrote: >> >> > On my hardware the patches you have (+ this one on gstwaylandsink >> > https://bugzilla.gnome.org/show_bug

Re: Wayland generic dmabuf protocol

2014-06-13 Thread Pekka Paalanen
On Mon, 9 Jun 2014 14:06:33 +0300 Pekka Paalanen wrote: > On Mon, 9 Jun 2014 11:00:04 +0200 > Benjamin Gaignard wrote: > > > On my hardware the patches you have (+ this one on gstwaylandsink > > https://bugzilla.gnome.org/show_bug.cgi?id=711155) allow me to do zero > > copy between the hardware

[PATCH libinput] tablet: Handle button-events

2014-06-13 Thread Stephen Chandler Paul
Signed-off-by: Stephen Chandler Paul --- src/evdev-tablet.c | 113 + src/evdev-tablet.h | 12 +- src/libinput-private.h | 5 +++ src/libinput.c | 55 src/libinput.h | 51 +

[PATCH libinput] Emit LIBINPUT_TABLET_EVENT_TOOL_UPDATE events on tool changes

2014-06-13 Thread Stephen Chandler Paul
V2 of this patch. There was a big change I was supposed to apply to this before I sent it out that completely slipped my mind until just now. This causes a merge conflict with the patch for handling tablet buttons so I'll be sending out a modified version of that in just a second Signed-off-by: St