From ffb19421a3ed68f2f70c59c5f12f33bedfd0d9ec Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 9 Jul 2015 09:32:40 +1000 Subject: [PATCH] touchpad: fix a misaligned { Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index e90bd1e4..3461dc5b 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -496,8 +496,7 @@ tp_palm_detect_dwt(struct tp_dispatch *tp, struct tp_touch *t, uint64_t time) return 1; } else if (!tp->dwt.keyboard_active && t->state == TOUCH_UPDATE && - t->palm.state == PALM_TYPING) - { + t->palm.state == PALM_TYPING) { /* If a touch has started before the first or after the last key press, release it on timeout. Benefit: a palm rested while typing on the touchpad will be ignored, but a touch