Like the other focusing functions, make focus_prev call kill_refs before
trying to focus on a new window. This way, the current window references
are cleared like it should be when the very last window is destroyed.
Otherwise, the status-bar output will contain (while its alarm does not
expire) the class hint of the to be removed window.
winfocus = TAILQ_FIRST(wl);
}
+ kill_refs(win);
focus_magic(winfocus);
}
TAILQ_REMOVE(&win->ws->winlist, win, entry);
TAILQ_INSERT_TAIL(&win->ws->unmanagedlist, win, entry);
-
- kill_refs(win);
}
void