Re: [PATCH libinput] tools: replace the tap time measuring tool with a python one

2017-11-15 Thread Dima Ryazanov
Oh nice, much simpler. I have a few nitpick comments, but it looks good, and works for me. Reviewed-By: Dima Ryazanov Tested-By: Dima Ryazanov On Thu, Nov 16, 2017 at 1:11 PM, Peter Hutterer wrote: > A lot easier to process data in python than in C. > > Signed-off-by: Peter Hutterer > --- >

[PATCH libinput] tools: replace the tap time measuring tool with a python one

2017-11-15 Thread Peter Hutterer
A lot easier to process data in python than in C. Signed-off-by: Peter Hutterer --- meson.build | 10 +- tools/libinput-measure-touchpad-tap | 261 + tools/libinput-measure-touchpad-tap.c | 509 -- 3 files changed, 263

Re: [PATCH libinput 1/1] Fix debouncing algorithm

2017-11-15 Thread Peter Hutterer
On Wed, Nov 15, 2017 at 09:31:07PM +0100, Vicente Bergas wrote: > On Wed, Nov 15, 2017 at 1:38 AM, Peter Hutterer > wrote: > > ... I'd appreciate it if you could give it a test > > though. > > > > Cheers, > >Peter > > Hi Peter, > just tested 4aa25b9de96321d946ed399b614d52deadf74403 (tip of yo

Re: [PATCH libinput 1/1] Fix debouncing algorithm

2017-11-15 Thread Vicente Bergas
On Wed, Nov 15, 2017 at 1:38 AM, Peter Hutterer wrote: > ... I'd appreciate it if you could give it a test > though. > > Cheers, >Peter Hi Peter, just tested 4aa25b9de96321d946ed399b614d52deadf74403 (tip of your debouncing branch on github), it failed on the very first click: [ 1910.895] (EE

RE: Wayland Message Behaviour

2017-11-15 Thread Turner, LewisX
Hi Derek and pq, Thanks for the further suggestions and comments. The idea around multiple threads is a likely candidate. We have added a thread and the flush is coming from the extra thread. There seems to be two obvious approaches to solving the issue: 1) Create a new queue for our new thread

soften xdg-shell fullscreen constraint on geometry

2017-11-15 Thread Arnaud Vrac
Hi all, Seeing Jonas effort to make xdg-shell stable, I'd like to clear something up before this is done. The set_fullscreen request documentation mentions: If the surface doesn't cover the whole output, the compositor will position the surface in the center of the output and compensate with blac

Re: [PATCH wayland-protocols] Add the wl_drm protocol

2017-11-15 Thread Emil Velikov
Hi all, On 2 November 2017 at 17:09, Emil Velikov wrote: > From: Emil Velikov > > Import latest version (v2) of the protocol from Mesa. > > From the README: > > Warning! > The goal is to share the protocol file across Mesa and other low-level > components graphics stack such as libva and Xwaylan

Re: [PATCH wayland-protocols v3 01/17] Add xdg-shell to stable/

2017-11-15 Thread David Edmundson
Looks good to me! Reviewed-by: David Edmundson ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Re: [PATCH] Add the KDE server decoration protocol

2017-11-15 Thread David Edmundson
On Mon, Oct 30, 2017 at 5:03 AM, Jonas Ådahl wrote: > On Fri, Oct 27, 2017 at 01:13:15PM +0100, David Edmundson wrote: > > The server decoration protocol negotiates between the client and server > > whether the client should default to drawing window decorations, and > > informs the compositor wh

[PATCH wayland-protocols v3 14/17] xdg-shell: Fix typo

2017-11-15 Thread Jonas Ådahl
There is no configure 'request' only configure 'events'. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index 4cad982

[PATCH wayland-protocols v3 15/17] xdg-shell: Specify what happens when (un)maximizing while fullscreen

2017-11-15 Thread Jonas Ådahl
Specify that the maximize/unmaximize state requests only affects the state a surface will return to if it is currently fullscreen. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 8 1 file changed, 8 insertions(+) diff --git a/stable/xdg-

[PATCH wayland-protocols v3 13/17] xdg-shell/positioner: Clarify flip semantics with anchor offset

2017-11-15 Thread Jonas Ådahl
While there is no currently known usages of setting an anchor offset on the same axis as the 'flip' constraint action is set, it must still be specified so compositors behave the same. Signed-off-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 4 1 file changed, 4 insertions(+) diff -

[PATCH wayland-protocols v3 17/17] xdg-shell: Add unset_fullscreen description

2017-11-15 Thread Jonas Ådahl
The description for xdg_toplevel.unset_fullscreen was completely missing, so add it. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/stable/xdg-shell/xdg-shell

[PATCH wayland-protocols v3 11/17] xdg-shell: clarify map/unmap wording

2017-11-15 Thread Jonas Ådahl
From: Mike Blumenkrantz ensure that this is as precise and explicit as possible for all useful cases and also define previously-unspecified behavior Signed-off-by: Mike Blumenkrantz Reviewed-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 32 1 file chang

[PATCH wayland-protocols v3 16/17] xdg-shell: Clarify set_fullscreen semantics

2017-11-15 Thread Jonas Ådahl
It was not explicitly specified (as it is in set/unset_maximize) that the compositor will respond with a configure event when a client asks to be fullscreened, and the meaning of the output parameter was somewhat awkwardly described. Signed-off-by: Jonas Ådahl Reviewed-by: Mike Blumenkrantz ---

[PATCH wayland-protocols v3 12/17] xdg-shell/positioner: Replace edge bitfield with extended enum

2017-11-15 Thread Jonas Ådahl
From: David Edmundson Bitfields allowed for impossible combinations of anchor edges, such as being on the left and right edge. Use of explicit enumerations means we don't need to handle that case. Signed-off-by: David Edmundson Reviewed-by: Jonas Ådahl --- stable/xdg-shell/xdg-shell.xml | 77

[PATCH wayland-protocols v3 10/17] xdg-shell/popup: Allow custom parent by passing null as parent

2017-11-15 Thread Jonas Ådahl
Allow using some other protocol (custom, or future xdg_* based) to set up the parent-child relationship of a popup. This allows future protocols to use xdg_popup when mapping popups over surfaces not based on xdg_surface. An example use case for this is the window menu, where a shells UI client ca

[PATCH wayland-protocols v3 09/17] xdg-shell/toplevel: Chain multiple parent-child relationships

2017-11-15 Thread Jonas Ådahl
Change the semantics of xdg_toplevel.set_parent to allow chaining multiple parent-child relationships together, while allowing arbitrarily unmapping parents, while keeping what is left over of the chain intact. This makes things easier to manage when parent-child relationships cross client borders

[PATCH wayland-protocols v3 06/17] xdg-shell: Replace 'monitor' with 'output'

2017-11-15 Thread Jonas Ådahl
There is no such thing as 'monitor' in Wayland, only outputs. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml inde

[PATCH wayland-protocols v3 08/17] xdg-shell/toplevel: Clarify xdg_toplevel.set_parent(null)

2017-11-15 Thread Jonas Ådahl
Setting a null-surface as a toplevel parent should unset the parent-child relationship. This was not specified, so lets do that. Signed-off-by: Jonas Ådahl Signed-off-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 1 file changed, 4 insertions(+) diff --git a/stable/xdg-shel

[PATCH wayland-protocols v3 02/17] xdg-shell: Rename interfaces

2017-11-15 Thread Jonas Ådahl
Rename the interfaces according to the wayland-protocols policy. Since the name 'xdg_shell' as an interface was already taken (by xdg-shell-unstable-v5) zxdg_shell_v6 was renamed xdg_wm_base. The surface role related interfaces were not renamed, as naming collision is only unmanagable when exposed

[PATCH wayland-protocols v3 07/17] xdg-shell/surface: Add note about window position and geometry

2017-11-15 Thread Jonas Ådahl
A client might want to change the window geometry without wanting the window to be moved, for example when changing the width of the border. Point out that the compositor should treat the (x,y) coordinate of the geometry as the top-left corner of the window, and not change the position of the windo

[PATCH wayland-protocols v3 00/17] Declaring xdg-shell stable, take 3

2017-11-15 Thread Jonas Ådahl
Hi, This is yet another attempt to declare xdg-shell as stable, enabling us to easier extend it further, with additions and new extensions that depend on it. There are a few minor changes since last time, most notebly the definition of what requesting to be "unfullscreen" means which was previous

[PATCH wayland-protocols v3 04/17] xdg-shell: Reword the xdg_wm_base introduction

2017-11-15 Thread Jonas Ådahl
Don't refer to things as "traditional desktop" as it is not defined nor clear what that refers to; instead reword things in a more explicit way. A reason for this is that xdg-shell is not strictly meant only for traditional window stacking based desktop environments, but should be equally suitable

[PATCH wayland-protocols v3 03/17] xdg-shell: Update copyright notices

2017-11-15 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl Acked-by: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stable/xdg-shell/xdg-shell.xml b/stable/xdg-shell/xdg-shell.xml index da8d6d4..ec70073 100644 --- a/stable/xdg-shell/xdg-shell.xml +++ b/stable/xdg-shel

[PATCH wayland-protocols v3 05/17] xdg-shell/positioner: Allow empty anchor_rect

2017-11-15 Thread Jonas Ådahl
Allow setting an empty anchor rectangle, so that one can map a popup against a coordinate, not a pixel. Signed-off-by: Jonas Ådahl Reviewed-By: Mike Blumenkrantz --- stable/xdg-shell/xdg-shell.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/xdg-shell/xdg-shell

[PATCH wayland-protocols v3 01/17] Add xdg-shell to stable/

2017-11-15 Thread Jonas Ådahl
Add a copy of xdg-shell unstable v6 to stable/xdg-shell/xdg-shell.xml. Folliwing this commit, it will go through a set of changes, before being declared stable. Signed-off-by: Jonas Ådahl --- stable/xdg-shell/README|5 + stable/xdg-shell/xdg-shell.xml | 1044 +