thinglaunch

A simple command and password prompter for X11.
git clone git://r-36.net/thinglaunch
Log | Files | Refs | LICENSE

commit ea4447f1720d7ef60229bc29b3a0fc12c0d39ccb
parent 50920755d6cdfc642d76cecac2dbee9730af77c7
Author: Christoph Polcin <labs@polcin.de>
Date:   Mon, 12 Mar 2018 11:49:46 +0100

Use Exit-Code 1 on abort

Signed-off-by: Christoph Polcin <labs@polcin.de>
Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
thinglaunch.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/thinglaunch.c b/thinglaunch.c @@ -401,7 +401,7 @@ keypress(XKeyEvent *keyevent) switch(key_symbol) { case XK_Escape: - exit(0); + exit(1); break; case XK_BackSpace: len = wcslen(command); @@ -417,7 +417,7 @@ keypress(XKeyEvent *keyevent) break; case XK_c: if (keyevent->state & ControlMask) - exit(0); + exit(1); default: if (key_symbol > 255) break;