[PATCH weston] Ignore the OSC code for desktop notifications

2016-11-03 Thread Dima Ryazanov
In Fedora, bash is configured to display a desktop notification when a command finishes (and the terminal is not focused). weston-terminal complains about it; let's silence it. Signed-off-by: Dima Ryazanov --- clients/terminal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/termi

Re: [PATCH v6] protocol: Extend wl_touch with touchpoint shape and orientation

2016-11-03 Thread Yong Bakos
Hi Dennis, > On Nov 3, 2016, at 3:52 PM, Dennis Kempin wrote: > > This CL updates the wl_touch interface with a shape and > orientation event. > The shape/orientation of a touch point is not relevant for most UI > applications, but allows a better experience in some cases > such as drawing apps.

Re: [PATCH wayland-protocols] tablet: specify the tool button numbers are simply sequentially numbered

2016-11-03 Thread Yong Bakos
Hi Peter, > On Nov 3, 2016, at 6:46 PM, Peter Hutterer wrote: > > We're using sequentially numbered buttons for the pad because actual tablets > are quite varied in how the present buttons (BTN_A, BTN_0, etc.). For this > reason, libinput numbers pad buttons sequentially. > > Let's do the same

[PATCH wayland-protocols] tablet: specify the tool button numbers are simply sequentially numbered

2016-11-03 Thread Peter Hutterer
We're using sequentially numbered buttons for the pad because actual tablets are quite varied in how the present buttons (BTN_A, BTN_0, etc.). For this reason, libinput numbers pad buttons sequentially. Let's do the same for tablet tools. Unfortunately libinput doesn't do this, so the mapping is u

[PATCH v6] protocol: Extend wl_touch with touchpoint shape and orientation

2016-11-03 Thread Dennis Kempin
This CL updates the wl_touch interface with a shape and orientation event. The shape/orientation of a touch point is not relevant for most UI applications, but allows a better experience in some cases such as drawing apps. The events are used by the compositor to inform the client about changes in

[PATCH weston 1/2] gl-renderer: add support for EGL_KHR_swap_buffers_with_damage

2016-11-03 Thread Daniel Stone
Hi Emil, On Thursday, 3 November 2016, Emil Velikov > wrote: > > + static const struct { > + char *extension, *entrypoint; > + } foo[] = { > This naming is, er ... fairly non-specific. The rest seems fine to me though. Cheers, Daniel

[PATCH weston 2/2] simple-egl: add support for EGL_KHR_swap_buffers_with_damage

2016-11-03 Thread Emil Velikov
Functionally identical to the EXT version of the extension. Signed-off-by: Emil Velikov --- clients/simple-egl.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 9d401f9..8c923f8 100644 --- a/

[RFC weston 0/2] Add support for EGL_KHR_swap_buffers_with_damage

2016-11-03 Thread Emil Velikov
Hi all, Khronos has promoted the EXT extension to KHR one and I was wondering if weston won't be interested in handling systems that support the latter and yet lack the former. Admittedly I've not seen (or looked for) any such beasts thus the RFC (also the oddly named foo - suggestions welcome

[PATCH weston 1/2] gl-renderer: add support for EGL_KHR_swap_buffers_with_damage

2016-11-03 Thread Emil Velikov
Extension is identical to the EXT one, yet we need to check for the KHR abbreviated extension name + entry-point. Signed-off-by: Emil Velikov --- libweston/gl-renderer.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/libweston/gl-renderer.c b/l

Re: [weston v2] gl-renderer: conditionally call query_buffer while gl_renderer_attach

2016-11-03 Thread Daniel Stone
Hi, On 3 November 2016 at 20:17, Giulio Camuffo wrote: > Reviewed-by: Giulio Camuffo And pushed, thanks: To ssh://git.freedesktop.org/git/wayland/weston 7327d5a..9c526e0 push -> master Vincent - please remember to strip the Change-Id lines when mailing though. Cheers, Daniel _

[PATCH wayland] tests: Test wl_message_count_arrays

2016-11-03 Thread Yong Bakos
From: Yong Bakos message-test.c did not cover wl_message_count_arrays, so add one test that specifically tests this method. Note that this exposes wl_message_count_arrays in a private header (wayland-private.h), and removes the `static` modifier of the implementation. Signed-off-by: Yong Bakos

Re: [weston v2] gl-renderer: conditionally call query_buffer while gl_renderer_attach

2016-11-03 Thread Giulio Camuffo
Hi, Reviewed-by: Giulio Camuffo 2016-11-03 11:15 GMT+01:00 Vincent Abriou : > While gl_renderer_attach, query_buffer should be call only if the > query_buffer function exists ie when has_bind_display is true. > > v2: > - Take into account Giulio's remark. Use has_bind_display viariable to test

[weston v2] gl-renderer: conditionally call query_buffer while gl_renderer_attach

2016-11-03 Thread Vincent Abriou
While gl_renderer_attach, query_buffer should be call only if the query_buffer function exists ie when has_bind_display is true. v2: - Take into account Giulio's remark. Use has_bind_display viariable to test if EGL_WL_bind_wayland_display extension is supported. Change-Id: I5b5995fec67351cc8

Re: [PATCH libinput] evdev: implement support for the MOUSE_WHEEL_CLICK_COUNT property

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 03:16, Peter Hutterer wrote: On Fri, Oct 28, 2016 at 12:57:38PM +0200, Hans de Goede wrote: Hi, On 28-10-16 07:08, Peter Hutterer wrote: Not all mice have a click angle with integer degrees. The new MOUSE_WHEEL_CLICK_COUNT property specifies how many clicks per full rotation,