Re: [PATCH libinput] util: harmonize container_of() definition with linux kernel one

2017-05-16 Thread Peter Hutterer
On Mon, May 15, 2017 at 01:08:17PM +0200, Gabriel Laskar wrote: > commit 3925936 introduced changes to container_of, this is hopefully the > last part of it. > > In the linux kernel, container_of() takes a type name, and not a > variable. Without this, in some cases it is needed to declare an unus

[PATCH libinput] Add support for SW_TABLET_MODE

2017-05-16 Thread Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=101008 Signed-off-by: Peter Hutterer --- This builds on top of the patch series here https://lists.freedesktop.org/archives/wayland-devel/2017-April/033942.html since rebased and available here: https://github.com/whot/libinput/tree/wip/sw-tablet-mode

[PATCH libinput 1/4] tools: drop libshared.la

2017-05-16 Thread Peter Hutterer
Include the source files directly, we'll need per-target compiler flags that affect different tools differently in the future. Signed-off-by: Peter Hutterer --- tools/Makefile.am | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/tools/Makefile.am b

[PATCH libinput 0/4] tools: provide a single 'libinput' tool (á la git)

2017-05-16 Thread Peter Hutterer
We currently have two tools that we install - libinput-list-devices and libinput-debug-events. There's a bunch of things we need to do for debugging that is different enough that different tools are warranted for. Instead of messing up /usr/bin with a swath of libinput-foo tools, let's switch to a

[PATCH libinput 4/4] tools: hook libinput-debug-events into the libinput tool

2017-05-16 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- meson.build | 7 +++-- tools/Makefile.am | 8 -- tools/libinput-debug-events.c | 15 +-- tools/libinput-tool.c | 8 ++ tools/libinput-tool.h | 1 + tools/libinput.1 | 60 ++

[PATCH libinput 3/4] tools: add a 'libinput' tool

2017-05-16 Thread Peter Hutterer
This tool will eventually replace the different libinput tools we ship atm with the various functionalities being commands to the single tool, rather than multiple tools. Right now, we still build both tools separately. Signed-off-by: Peter Hutterer --- meson.build | 10 +++

[PATCH libinput 2/4] tools: rename a source file to match the future common file name paradigm

2017-05-16 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- meson.build | 2 +- tools/Makefile.am| 2 +- tools/{event-debug.c => libinput-debug-events.c} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tools/{event-debug.c => libinput-debug

[PATCH libinput] touchpad: fix clickfinger behavior with a thumb being present

2017-05-16 Thread Friedrich Schöller
With a thumb on the touchpad, a two-finger click was incorrectly treated as a middle-click. This patch takes the thumb into account and treats the click as a right-click. --- src/evdev-mt-touchpad-buttons.c | 44 ++--- 1 file changed, 19 insertions(+), 25 deleti

Re: wl_output ambiguity, xdg_shell fullscreen refresh rate

2017-05-16 Thread Pekka Paalanen
On Mon, 15 May 2017 17:31:57 +0200 Philipp Kerling wrote: > Thanks for your answers! See reply below. > > 2017-05-15 (月) の 11:18 +0300 に Pekka Paalanen さんは書きました: > > On Sun, 14 May 2017 14:43:44 +0200 > > Philipp Kerling wrote: > > > To start off: > > >  * Kodi should offer the user the oppor

Re: wl_output ambiguity, xdg_shell fullscreen refresh rate

2017-05-16 Thread Philipp Kerling
Hi, Am Dienstag, den 16.05.2017, 11:30 +0300 schrieb Pekka Paalanen: > On Mon, 15 May 2017 17:51:16 +0200 > Philipp Kerling wrote: > > > 2017-05-15 (月) の 12:19 +0200 に Philipp Zabel さんは書きました: > > > On Mon, 2017-05-15 at 11:18 +0300, Pekka Paalanen wrote: > > > > On Sun, 14 May 2017 14:43:44 +0

Re: wl_output ambiguity, xdg_shell fullscreen refresh rate

2017-05-16 Thread Pekka Paalanen
On Mon, 15 May 2017 17:51:16 +0200 Philipp Kerling wrote: > 2017-05-15 (月) の 12:19 +0200 に Philipp Zabel さんは書きました: > > On Mon, 2017-05-15 at 11:18 +0300, Pekka Paalanen wrote: > > > On Sun, 14 May 2017 14:43:44 +0200 > > > Philipp Kerling wrote: > > > >  * Am I correct in that if I use zxdg_

Re: wl_output ambiguity, xdg_shell fullscreen refresh rate

2017-05-16 Thread Philipp Zabel
On Mon, 2017-05-15 at 17:51 +0200, Philipp Kerling wrote: > 2017-05-15 (月) の 12:19 +0200 に Philipp Zabel さんは書きました: > > On Mon, 2017-05-15 at 11:18 +0300, Pekka Paalanen wrote: > > > On Sun, 14 May 2017 14:43:44 +0200 > > > Philipp Kerling wrote: > > > > * Am I correct in that if I use zxdg_toplev

Re: [PATCH] doc: be explicit about requests not returning a value

2017-05-16 Thread Pekka Paalanen
On Tue, 16 May 2017 11:23:55 +0530 Varad Gautam wrote: > From: Varad Gautam > > document how the asynchronous model works for requests and events to avoid > any confusion. > > Signed-off-by: Varad Gautam > Suggested-by: Pekka Paalanen > --- > doc/publican/sources/Protocol.xml | 7 ++- >