[PATCH libinput 2/2] evdev: add a wrapper to get the evdev device from a libinput device

2017-01-30 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-middle-button.c | 8 ++-- src/evdev-mt-touchpad-buttons.c | 10 ++--- src/evdev-mt-touchpad-tap.c | 60 + src/evdev-mt-touchpad.c | 24 +- src/evdev-tablet-pad.c | 4 +- src/evdev.c

[PATCH libinput 1/2] evdev: improve type-safety on dispatch switches

2017-01-30 Thread Peter Hutterer
Set the dispatch type on creation, then check that whenever we try to get the dispatch struct. This avoids a potential mismatch between the backends. Plus, use of container_of means we're not dependent on the exact layout anymore. Signed-off-by: Peter Hutterer --- src/evdev-lid.c |

[PATCH weston v2] ivi-shell: add screen_remove_layer API

2017-01-30 Thread Ucan, Emre (ADITG/SW1)
It is analagous to layer_remove_surface API. The API removes a layer from the render order of the screen. v2: add the new vfunc at the end of the ivi_layout_interface struct. Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout-export.h | 10 ++ ivi-shell/ivi-layout.c| 28 +

[PATCH wayland v3] doc: start documenting Xwayland

2017-01-30 Thread Pekka Paalanen
From: Pekka Paalanen This is a rough intro to what Xwayland is and does, with just one implementation detail so far (Window identification). I paid no attention to formatting details, those can be polished in follow-ups. I just want the prose out. I also just quickly whacked up the diagram, wou

RE: [PATCH weston] ivi-shell: add screen_remove_layer API

2017-01-30 Thread Ucan, Emre (ADITG/SW1)
Hi Pekka, You are right. I will send second patch and add the function to end of the function list. It is stated in ivi-shell/README that ivi_layout interface is stable. But I think should not be stable yet. Because we are missing some important features (e.g. output hotplugging) or some exist

[PATCH weston 0/2] ivi-shell: simplfy updating properties of views

2017-01-30 Thread Ucan, Emre (ADITG/SW1)
After Pekka's review of my "ivi-shell: Damage view below after unmapping" patch. I decided to divide my patch into three patches. I am sending now two preparation patches which simplifies updating properties of views. The first patch simplfies commit_changes function. We can easily get ivisurf,

[PATCH weston 2/2] ivi-shell: simplfy commit_changes function

2017-01-30 Thread Ucan, Emre (ADITG/SW1)
It is a better idea to use one for loop instead of using three nested for loops. We do not need to update the transformation of views according to the scenegraph. The important thing is that every visible view is updated before commit_changes function returns. The first if statement checks, if th

[PATCH weston 1/2] ivi-shell: pass only ivi_view to update_prop

2017-01-30 Thread Ucan, Emre (ADITG/SW1)
We can get ivisurf, ivilayer and iviscreen easily from ivi_view. Then, we do not need to check, if ivi_view's layer is the same as the given ivilayer. Signed-off-by: Emre Ucan --- ivi-shell/ivi-layout.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ivi-shel

Re: [weston 1/2] linux-dmabuf: implement immediate dmabuf import

2017-01-30 Thread Daniel Stone
Hi Pekka, On 30 January 2017 at 12:51, Pekka Paalanen wrote: > On Mon, 30 Jan 2017 16:00:06 +0530 > Varad Gautam wrote: >> Instead of always always creating a wl_resource and identifying an invalid >> wl_buffer on commit in weston, how about treating an invalid import just as >> any other cause

Re: [weston 1/2] linux-dmabuf: implement immediate dmabuf import

2017-01-30 Thread Pekka Paalanen
On Mon, 30 Jan 2017 16:00:06 +0530 Varad Gautam wrote: > Hi Pekka, > > On Fri, Jan 27, 2017 at 6:32 PM, Pekka Paalanen > wrote: > > On Mon, 21 Nov 2016 21:27:03 + > > Daniel Stone wrote: > > > >> Hi Varad, > >> > >> On 11 November 2016 at 11:40, Varad Gautam wrote: > >> > handle creat

Wayland+Gnome+Fedora 25 makes eclipse messy

2017-01-30 Thread Kartik Somani
Hi, I wanted to report this issue to wayland community: When using eclipse on my Fedora workstation which uses Gnome3+Wayland, If I restore/reduce window size of Eclipse, it becomes messy. Specifically, the below things happen: 1. the menu bar disappears 2. Unable to maximize the window again

Re: [PATCH] protocol: Add gaming input protocol

2017-01-30 Thread Stephan Sokolow (You actually CAN reply)
When I first became aware of this patch, my first response was excitement that Wayland would finally take gamepad input into account when doing screensaver suppression. However, with the idea to pass file descriptors for bottleneck-avoidance, I've been growing increasingly concerned that no m

Re: [weston 1/2] linux-dmabuf: implement immediate dmabuf import

2017-01-30 Thread Varad Gautam
Hi Pekka, On Fri, Jan 27, 2017 at 6:32 PM, Pekka Paalanen wrote: > On Mon, 21 Nov 2016 21:27:03 + > Daniel Stone wrote: > >> Hi Varad, >> >> On 11 November 2016 at 11:40, Varad Gautam wrote: >> > handle create_immed() dmabuf import requests and support >> > zwp_linux_dmabuf_v1_interface ver