Signed-off-by: Peter Hutterer <[email protected]>
---
 src/evdev-tablet.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
index 0c20483..426d83f 100644
--- a/src/evdev-tablet.c
+++ b/src/evdev-tablet.c
@@ -1049,6 +1049,9 @@ detect_pressure_offset(struct tablet_dispatch *tablet,
                return;
        }
 
+       if (offset == 0)
+               return;
+
        /* we only set a pressure offset on proximity in */
        if (!tablet_has_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY))
                return;
-- 
2.5.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to