Fix: Focus lost when swallowing a sticky client.

pull/397/head
ysl2 7 months ago
parent 5c86e814a7
commit c0d8331c1b

@ -2641,6 +2641,7 @@ manage(Window w, XWindowAttributes *wa)
XMapWindow(dpy, c->win);
#endif // BAR_WINTITLEACTIONS_PATCH
}
focus(term);
#else
#if RIODRAW_PATCH
if (riopid) {
@ -2659,8 +2660,8 @@ manage(Window w, XWindowAttributes *wa)
#else
XMapWindow(dpy, c->win);
#endif // BAR_WINTITLEACTIONS_PATCH
#endif // SWALLOW_PATCH
focus(NULL);
#endif // SWALLOW_PATCH
#if BAR_EWMHTAGS_PATCH
setfloatinghint(c);

Loading…
Cancel
Save