diff --git a/src/events.c b/src/events.c index 8c9468ae..a90f21f3 100644 --- a/src/events.c +++ b/src/events.c @@ -360,7 +360,10 @@ void focus_in(xcb_generic_event_t *evt) if (e->event == root) { /* Some clients expect the window manager to refocus the focused window in this case */ + bool pff = pointer_follows_focus; + pointer_follows_focus = false; focus_node(mon, mon->desk, mon->desk->focus); + pointer_follows_focus = pff; return; } }