mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
dc0746946e
@ -501,7 +501,8 @@ 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")) {
|
||||||
window_update_focus(old->window);
|
if (old != NULL)
|
||||||
|
window_update_focus(old->window);
|
||||||
window_update_focus(wl->window);
|
window_update_focus(wl->window);
|
||||||
}
|
}
|
||||||
winlink_clear_flags(wl);
|
winlink_clear_flags(wl);
|
||||||
|
Loading…
Reference in New Issue
Block a user