From: Michael D. Lowis Date: Thu, 4 Jul 2019 02:55:57 +0000 (-0400) Subject: fixed bug with focus handling on key presses X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=cce1520d73f23f944ebbf451878cd425baa73dc0;p=projs%2Ftide.git fixed bug with focus handling on key presses --- 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); }