From eea83c3a37836e302003f1fb051d64e34cb84bc1 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Wed, 11 Nov 2020 15:55:45 +0100 Subject: [PATCH] uw: Fix touchpad toggle Actually only returning notify stop on last key messes up some platforms leading to that next toggle does not register. Should either stop all or none. From now stopping none. --- src/uniwill_keyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index c87b8fb..a5fe5b9 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -110,7 +110,7 @@ static int keyboard_notifier_callb(struct notifier_block *nb, unsigned long code if (prevprev_key == 85 && prev_key == 29) { TUXEDO_DEBUG("Touchpad Toggle\n"); schedule_work(&uniwill_key_event_work); - ret = NOTIFY_STOP; + ret = NOTIFY_OK; } break; }