Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam 2022-02-22 16:01:11 +00:00
commit dc0746946e

View File

@ -501,6 +501,7 @@ session_set_current(struct session *s, struct winlink *wl)
winlink_stack_push(&s->lastw, s->curw); winlink_stack_push(&s->lastw, s->curw);
s->curw = wl; s->curw = wl;
if (options_get_number(global_options, "focus-events")) { if (options_get_number(global_options, "focus-events")) {
if (old != NULL)
window_update_focus(old->window); window_update_focus(old->window);
window_update_focus(wl->window); window_update_focus(wl->window);
} }