tKeep track of currently focused window - glazier - window management experiments
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 521c1ecbe578342278d43c0ce93e55b1ff8ac6bb
 (DIR) parent dad835add854d3a2ed6b0dde12fca0888589ed92
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue,  3 Dec 2019 16:49:01 +0100
       
       Keep track of currently focused window
       
       Diffstat:
         M glazier.c                           |       1 +
       
       1 file changed, 1 insertion(+), 0 deletions(-)
       ---
 (DIR) diff --git a/glazier.c b/glazier.c
       t@@ -564,6 +564,7 @@ cb_focus(xcb_generic_event_t *ev)
        
                switch(e->response_type & ~0x80) {
                case XCB_FOCUS_IN:
       +                curwid = e->event;
                        return wm_set_border(-1, border_color_active, e->event);
                        break; /* NOTREACHED */
                case XCB_FOCUS_OUT: