From cce1520d73f23f944ebbf451878cd425baa73dc0 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Wed, 3 Jul 2019 22:55:57 -0400 Subject: [PATCH] fixed bug with focus handling on key presses --- src/tide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tide.c b/src/tide.c index f9ff770..4f19478 100644 --- a/src/tide.c +++ b/src/tide.c @@ -94,8 +94,8 @@ size_t glyph_width(View* view, int c) { } static void xkeypress(XConf* x, XEvent* e) { - uint32_t key = x11_process_key(x, e, Bindings); Focused = (e->xkey.y <= Divider ? TAGS : EDIT); + uint32_t key = x11_process_key(x, e, Bindings); if (key != RUNE_ERR) view_insert(win_view(FOCUSED), key); } -- 2.52.0