The test device initialization code was a bit of duplicated boilerplate and
required adding a reference to the devices to the 'devices' list in litest.c.
Automate this with a new TEST_DEVICE macro that adds the devices to a custom
section in the binary, then loops throught that section to get the d
Because on some devices the keyboard is where the fingers are holding the
device when in tablet mode.
https://bugs.freedesktop.org/show_bug.cgi?id=102729
Signed-off-by: Peter Hutterer
---
Requires the series from
https://lists.freedesktop.org/archives/wayland-devel/2017-September/035094.html
Bra
if (foo) {
everything
}
changed to :
if (!foo)
return
everything
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad.c | 29 +++--
1 file changed, 15 insertions(+), 14 deletions(-)
diff --git a/src/evdev-mt-to
Split out the fallback-specific device handling from the more generic
evdev-specific handling (which is supposed to be available for all devices).
Signed-off-by: Peter Hutterer
---
meson.build |1 +
src/evdev-fallback.c | 1622 ++
src/
This is a fallback-specific private enum, don't pretend it's evdev-related
Signed-off-by: Peter Hutterer
---
src/evdev.c | 46 +++---
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 3a122ffd..8875f06a 100644
No real functional changes here, this is just to clean up the evdev.c file
which previously mixed generic bits with those only applicable to the
'fallback' interface (mice, keyboards, touchscreens...)
Cheers,
Peter
___
wayland-devel mailing list
wayla
Signed-off-by: Peter Hutterer
---
src/evdev-fallback.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/src/evdev-fallback.c b/src/evdev-fallback.c
index 916254e4..47c05e4f 100644
--- a/src/evdev-fallback.c
+++ b/src/evdev-fallback
Shove it into the generic dispatch interface so we don't entangle evdev and
fallback.
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad.c | 1 +
src/evdev-tablet-pad.c | 1 +
src/evdev-tablet.c | 1 +
src/evdev.c | 14 +-
src/evdev.h | 5 +
Signed-off-by: Peter Hutterer
---
src/evdev.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/evdev.c b/src/evdev.c
index 12ee4882..65d6e16e 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1793,7 +1793,7 @@ evdev_left_handed_has(struct libin
Better for self-documentation than comments and makes it more obvious if we
initialize something wrongly.
Signed-off-by: Peter Hutterer
---
src/evdev-mt-touchpad.c | 20 ++--
src/evdev-tablet-pad.c | 20 ++--
src/evdev-tablet.c | 20 ++--
src
On Wed, Sep 20, 2017 at 2:20 AM, Peter Hutterer
wrote:
> Avoid processing an event with a time later than the earliest timer
> expiry. If
> libinput_dispatch() isn't called frequently enough, we may have e.g. a tap
> timeout happening but read a subsequent input event first. In that case we
> can
On Wed, Sep 20, 2017 at 3:40 AM, Peter Hutterer
wrote:
> And instead disable it when we do get a proximity out.
>
> Signed-off-by: Peter Hutterer
> ---
>
This looks good to me:
Reviewed-by: Benjamin Tissoires
Cheers,
Benjamin
> Follow-up to
> https://lists.freedesktop.org/archives/wayland-d
On Wed, Sep 20, 2017 at 10:14:41AM +1000, Peter Hutterer wrote:
> Hi Matt,
Hi Peter!
> On Tue, Sep 19, 2017 at 12:41:52PM -0400, Matt Porter wrote:
> > The Chalkboard Electronics HID Touchscreen is classified as
> > a tablet device by systemd udev because it has BTN_TOOL_PEN
> > support. It also
Hi Emre,
On 20 September 2017 at 06:38, Ucan, Emre (ADITG/ESB)
wrote:
> Will this protocol be used by libEGL, or applications has to use it directly ?
The idea was for whoever calls wl_surface_attach() to also attach the
fence: an EGL/Vulkan driver, or a client framework directly if using
buffer
Hi Matt,
On 20 September 2017 at 05:48, Matt Hoosier wrote:
> On a related subject, there was discussion back at
> https://lists.freedesktop.org/archives/wayland-devel/2013-September/011091.html
> that acknowledged a longstanding bug where wl_buffer::release events
> are starved indefinitely in t
Hi Daniel,
Will this protocol be used by libEGL, or applications has to use it directly ?
Best regards
Emre Ucan
Engineering Software Base (ADITG/ESB)
Tel. +49 5121 49 6937
> -Original Message-
> From: wayland-devel [mailto:wayland-devel-
> boun...@lists.freedesktop.org] On Behalf Of D
On Tue, Sep 19, 2017 at 6:46 PM, Daniel Stone wrote:
> Signed-off-by: Daniel Stone
> ---
> Makefile.am| 1 +
> unstable/linux-explicit-synchronization/README | 5 +
> .../linux-explicit-synchronization-unstable-v1.xml | 208
> +
From: Ankit Nautiyal
DRM layer populates aspect ratio information for CEA video modes,
but we lose it while parsing modeline (Aspect ratio patch series
in drm layer: https://patchwork.freedesktop.org/series/10850).
The flag bits 19-22 of the connector modes, provide the aspect ratio info.
This in
18 matches
Mail list logo