tOnly move/resize when moving with a window selected - glazier - window management experiments
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 11da31d2a4539469b086f8f40a94ca03cd1ef43b
 (DIR) parent f89ceeea69b691ad63e0189581e39eaa14b5a43f
 (HTM) Author: Willy Goiffon <dev@z3bra.org>
       Date:   Tue, 22 Oct 2019 08:21:54 +0200
       
       Only move/resize when moving with a window selected
       
       Diffstat:
         M glazier.c                           |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
 (DIR) diff --git a/glazier.c b/glazier.c
       t@@ -286,12 +286,11 @@ cb_motion(xcb_generic_event_t *ev)
                int x, y;
                static int last_time = 0;
                xcb_motion_notify_event_t *e;
       -        xcb_window_t *child;
        
                e = (xcb_motion_notify_event_t *)ev;
        
                /* ignore some motion events if they happen too often */
       -        if (e->time - last_time < 32)
       +        if (e->time - last_time < 32 || curwid == scrn->root)
                        return 0;
        
                if (verbose)