[PATCH libinput] touchpad: send a left button event when we move out of topbuttons and click

2017-06-26 Thread Peter Hutterer
We used to completely ignore a finger that was within the top software button area and then moved to the main area and remained there for a timeout. This avoids erroneous pointer movements when the user moves the finger while using the trackpoint. But we also ignored physical clicks, something we

[PATCH weston] dmabuf: Don't crash clients by sending version inappropriate events

2017-06-26 Thread Derek Foreman
We need to make sure the client bound dmabuf with a high enough version to receive modifier events before sending them or the client will crash. Signed-off-by: Derek Foreman --- libweston/linux-dmabuf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libweston/linux-dmabuf.c b/libweston/li

[PATCH weston] linux-dmabuf: Fix crash with no valid modifiers

2017-06-26 Thread Derek Foreman
We shouldn't free &modifier_invalid because it wasn't allocated with malloc() Signed-off-by: Derek Foreman --- libweston/linux-dmabuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libweston/linux-dmabuf.c b/libweston/linux-dmabuf.c index 4f153b1c..ac219ac3 100644 --- a/

[PATCH weston] gl-renderer: Fix some missing newlines in log messages

2017-06-26 Thread Derek Foreman
Some log messages weren't terminated with a newline. Signed-off-by: Derek Foreman --- libweston/gl-renderer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c index a1301ffb..da29b072 100644 --- a/libweston/gl-renderer.c

[RFC PATCH weston 2/2] screenshooter: Add support to output multiple files

2017-06-26 Thread Tomohiro Komagata
Signed-off-by: Tomohiro Komagata --- compositor/weston-screenshooter.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/compositor/weston-screenshooter.c b/compositor/weston-screenshooter.c index 909..f8db546 100644 --- a/compositor/weston-screenshooter.c ++

[RFC PATCH weston 1/2] clients: screenshot: Add support to output multiple files

2017-06-26 Thread Tomohiro Komagata
Signed-off-by: Tomohiro Komagata --- clients/screenshot.c | 14 -- shared/file-util.c | 2 +- shared/file-util.h | 3 +++ 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/clients/screenshot.c b/clients/screenshot.c index 6e43d5c..2979b12 100644 --- a/clients/scre

[RFC PATCH weston 0/2] screenshot/screenshooter: Add support to output multiple files

2017-06-26 Thread Tomohiro Komagata
Hi This is a slight proposal but it is useful when we debug problems in some cases. The screenshot/screenshooter always create same name files. (wayland-screenshot.png and capture.wcap) Therefore, they can output only 1 file. However, JSON-timeline outputs the log files which has the date and t

[PATCH] clients: simple-egl: Restore window size when un-maximized

2017-06-26 Thread Tomohiro Komagata
The window position was correct but the window size was wrong when simple-egl returns from maximized window to un-maximized. Its size should be restored to original size. Signed-off-by: Tomohiro Komagata --- clients/simple-egl.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-)

[RFC weston] compositor: Implement runtime output transform changes

2017-06-26 Thread Iliya Bozhinov
Up to now we could set the transform only on output initialization. However, on certain situations(like tablets and convertible laptops), screen orientation can change while the compositor is running and thus the need for change of the output transform arises. When the transform changes, we must u

[RFC weston] compositor: Implement runtime output transform changes

2017-06-26 Thread Ilia Bozhinov
From: Ilia Bozhinov Up to now we could set the transform only on output initialization. However, on certain situations(like tablets and convertible laptops), screen orientation can change while the compositor is running and thus the need for change of the output transform arises. When the transf

[PATCH] xwayland: Implement support for programmatically maximizing views

2017-06-26 Thread Ilia Bozhinov
Currently the xwayland implementation of desktop surfaces doesn't do anything when weston_desktop_surface_set_maximized/fullscreen() is called. In order to support this, we have to add xwayland internal interfaces for sending those requests to the xwayland window. Also, a xwayland desktop surface s

[ANNOUNCE] libinput 1.7.902

2017-06-26 Thread Peter Hutterer
The second RC for libinput 1.8 is now available. There were a few more changes than I'd like it to be, mostly cleaning up the meson build, the libinput tools and the test suite changes. Aside from that, only one real change to libinput: On synaptics 2-slot touchpads we are now ignoring movements w