xruler

a screen ruler for X11
Log | Files | Refs | LICENSE

commit 4490bedd1d309132e58f37c9fc0d3b4f5c03b520
parent f1f8d511bbf84a85e5214a4246c5938a45ff7354
Author: Matthias Balk <mbalk@mbalk.de>
Date:   Sun,  3 Nov 2019 10:07:06 +0100

do also quit when ESC key is pressed

Diffstat:
Mxruler.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xruler.c b/xruler.c @@ -145,7 +145,7 @@ int main (int argc, char** argv) { xcb_key_press_event_t* kp = (xcb_key_press_event_t*) event; - if (kp->detail == 24) /* q */ + if (kp->detail == 24 || kp->detail == 9) /* q or ESC */ { free(event); xcb_disconnect(connection);