there's no need to #if this

This commit is contained in:
speedie 2022-12-18 20:32:17 +01:00
parent 1d444a94f1
commit 79701c612d

View file

@ -3454,15 +3454,10 @@ manage(Window w, XWindowAttributes *wa)
if (term)
swallow(term, c);
arrange(c->mon);
#if USEMOUSE
if (focusspawn && !warpcursor)
focus(c); /* auto focus next spawned window */
#else
if (focusspawn)
focus(c); /* auto focus next spawned window */
#endif
focus(c);
else
focus(NULL); /* no need if warpcursor is enabled because warpcursor is going to warp and focus the window anyway */
focus(NULL);
}
void