mirror of
https://github.com/tmux/tmux.git
synced 2025-11-24 19:06:07 +00:00
Do not send theme updates to panes that have exited, GitHub issue 4671.
This commit is contained in:
2
window.c
2
window.c
@@ -1922,6 +1922,8 @@ window_pane_get_theme(struct window_pane *wp)
|
|||||||
void
|
void
|
||||||
window_pane_send_theme_update(struct window_pane *wp)
|
window_pane_send_theme_update(struct window_pane *wp)
|
||||||
{
|
{
|
||||||
|
if (wp == NULL || window_pane_exited(wp))
|
||||||
|
return;
|
||||||
if (~wp->flags & PANE_THEMECHANGED)
|
if (~wp->flags & PANE_THEMECHANGED)
|
||||||
return;
|
return;
|
||||||
if (~wp->screen->mode & MODE_THEME_UPDATES)
|
if (~wp->screen->mode & MODE_THEME_UPDATES)
|
||||||
|
|||||||
Reference in New Issue
Block a user