commit 50920755d6cdfc642d76cecac2dbee9730af77c7
parent 88e9e929a0157489d4a6ef7b0096414b31e7c9d8
Author: Christoph Polcin <labs@polcin.de>
Date: Mon, 12 Mar 2018 11:49:45 +0100
Exit on CTRL-C
Signed-off-by: Christoph Polcin <labs@polcin.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/thinglaunch.c b/thinglaunch.c
@@ -415,6 +415,9 @@ keypress(XKeyEvent *keyevent)
case XK_KP_Enter:
execcmd();
break;
+ case XK_c:
+ if (keyevent->state & ControlMask)
+ exit(0);
default:
if (key_symbol > 255)
break;