[PATCH libinput] configure.ac: move libunwind/addr2line test to inside the test conditions

2016-05-09 Thread Peter Hutterer
If we're not building the tests, we don't care about libinwind/addr2line. Signed-off-by: Peter Hutterer --- configure.ac | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index a44d84c..8ddc3b6 100644 --

[ANNOUNCE] libinput 1.3.0

2016-05-09 Thread Peter Hutterer
libinput 1.3 is now available. The main addition over 1.2 is support for so-called tablet pads, i.e. the actual tablet part of a graphics tablet. This concludes the graphics tablet work in libinput, we are now feature-complete. Since the rc2 we only had a documentation change, so below is the ann

Re: [PATCH wayland] protocol: Remove double line break

2016-05-09 Thread Jonas Ådahl
On Sat, May 07, 2016 at 06:14:11PM -0500, Yong Bakos wrote: > From: Yong Bakos > > All vertical whitespace should manifest as a single blank line, never two. > > Signed-off-by: Yong Bakos RB me and pushed: 721c91c..c6d204f master -> master Jonas > --- > protocol/wayland.xml | 1 - > 1

[PATCH libinput 2/2] evdev: the range between dpad and trigger-happy are keys, not buttons

2016-05-09 Thread Peter Hutterer
Affected keys: KEY_ALS_TOGGLE KEY_BUTTONCONFIG KEY_TASKMANAGER KEY_JOURNAL KEY_CONTROLPANEL KEY_APPSELECT KEY_SCREENSAVER KEY_VOICECOMMAND KEY_BRIGHTNESS_MIN KEY_BRIGHTNESS_MAX KEY_KBDINPUTASSIST_PREV KE

[PATCH libinput 1/2] test: add a keyboard test device with all codes enabled

2016-05-09 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/Makefile.am| 1 + test/litest-device-keyboard-all-codes.c | 76 + test/litest.c | 2 + test/litest.h | 1 + 4 files changed, 80 insertions(+) crea

Re: [PATCH wayland] protocol: make get_subsurface double-buffered

2016-05-09 Thread Jonas Ådahl
On Mon, May 09, 2016 at 02:45:05PM +0300, Pekka Paalanen wrote: > From: Pekka Paalanen > > The existing specification was not explicitly clear on when > wl_subcompositor.get_subsurface request actually adds the sub-surface to > the parent in the compositor's scenegraph. The implicit assumption wa

Re: Feedback on xdg-shell v5

2016-05-09 Thread Jonas Ådahl
On Fri, Apr 29, 2016 at 12:37:22PM +0300, Pekka Paalanen wrote: > On Fri, 29 Apr 2016 15:31:28 +0800 > Jonas Ådahl wrote: > > > On Thu, Apr 28, 2016 at 02:08:07PM +0300, Pekka Paalanen wrote: > > > On Thu, 28 Apr 2016 17:36:58 +0800 > > > Jonas Ådahl wrote: > > > > > > > On Thu, Apr 28, 2016

[PATCH weston] desktop-shell: Don’t reconfigure an already fullscreen surface

2016-05-09 Thread Emmanuel Gil Peyrot
When we receive an wl_shell_surface::set_fullscreen request for a surface that was already fullscreen, don’t do anything if the parameters are the same as the initial request. This prevents bogus or malicious clients from being able to always stay on front by flooding the compositor with set_fulls

Re: [PATCH wayland] private: Remove unnecessary forward declarations

2016-05-09 Thread Derek Foreman
On 07/05/16 09:11 AM, Yong Bakos wrote: > From: Yong Bakos > > Declarations for wl_connection and wl_closure are not needed here. > wl_closure already has a complete definition. > Removing these forward declarations results in a clean, warning-free compile. > > Signed-off-by: Yong Bakos > --- >

Re: [PATCH wayland] protocol: make get_subsurface double-buffered

2016-05-09 Thread Derek Foreman
On 09/05/16 06:45 AM, Pekka Paalanen wrote: > From: Pekka Paalanen > > The existing specification was not explicitly clear on when > wl_subcompositor.get_subsurface request actually adds the sub-surface to > the parent in the compositor's scenegraph. The implicit assumption was > that this happen

Re: [PATCH wayland 0/1] connection: Move wl_interface_equal to util

2016-05-09 Thread Pekka Paalanen
On Mon, 9 May 2016 13:47:47 +0100 Daniel Stone wrote: > Hi, > > On 9 May 2016 at 13:45, Pekka Paalanen wrote: > > I think it should be private, I do not recall any other place that > > would be comparing a wl_interface to another wl_interface. > > EGL implementations, to validate the wl_buff

Re: [PATCH wayland] protocol: make get_subsurface double-buffered

2016-05-09 Thread Yong Bakos
Hi Pekka, Two minor nits in the description, noted inline below. yong On May 9, 2016, at 6:45 AM, Pekka Paalanen wrote: > > From: Pekka Paalanen > > The existing specification was not explicitly clear on when > wl_subcompositor.get_subsurface request actually adds the sub-surface to > the par

Re: [PATCH wayland 0/1] connection: Move wl_interface_equal to util

2016-05-09 Thread Daniel Stone
Hi, On 9 May 2016 at 13:45, Pekka Paalanen wrote: > I think it should be private, I do not recall any other place that > would be comparing a wl_interface to another wl_interface. EGL implementations, to validate the wl_buffer passed in through eglCreateImageKHR. Cheers, Daniel

Re: [PATCH wayland 0/1] connection: Move wl_interface_equal to util

2016-05-09 Thread Pekka Paalanen
On Sun, 8 May 2016 08:44:07 -0500 Yong Bakos wrote: > From: Yong Bakos > > First, please forgive me if I'm making naive changes. I do look at the > history of things before submitting such patches (I'm no maverick), and I > appreciate the time it takes to tell me "no". > > During my documenta

Re: [PATCH wayland 1/1] connection: Move wl_interface_equal to util

2016-05-09 Thread Pekka Paalanen
On Sun, 8 May 2016 08:44:08 -0500 Yong Bakos wrote: > From: Yong Bakos > > Move the wl_interface_equal prototype to the top of wayland-private, where > it is not buried in the middle of map, connection and closure functions. > > Move the implementation out of connection and into util. This is

Re: [PATCH wayland] protocol: make get_subsurface double-buffered

2016-05-09 Thread Daniel Stone
On 9 May 2016 at 12:45, Pekka Paalanen wrote: > To make setting up a subsurface slightly easier by removing one > possibility for a glitch, this patch amends the specification to require > a wl_surface.commit on the parent surface for get_subsurface to > complete. The sub-surface cannot become map

[PATCH wayland] protocol: make get_subsurface double-buffered

2016-05-09 Thread Pekka Paalanen
From: Pekka Paalanen The existing specification was not explicitly clear on when wl_subcompositor.get_subsurface request actually adds the sub-surface to the parent in the compositor's scenegraph. The implicit assumption was that this happens immediately, but it was not written anywhere. If it h