glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

commit 1e6e010ff05bd712cd637361a35e7fb8689b2865
parent 54f7505dfcfd577a266114dda914e651754b3736
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 25 Oct 2019 01:00:38 +0200

cb_enter: do not change focus when mouse buttons are down

Diffstat:
glazier.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -347,6 +347,9 @@ cb_enter(xcb_generic_event_t *ev) e = (xcb_enter_notify_event_t *)ev; + if (cursor.b) + return 0; + if (verbose) fprintf(stderr, "%s 0x%08x\n", XEV(e), e->event);