diff options
author | nicm <nicm> | 2024-03-21 11:30:42 +0000 |
---|---|---|
committer | nicm <nicm> | 2024-03-21 11:30:42 +0000 |
commit | 6c0067c10360880334afa50815b880d04edcbf42 (patch) | |
tree | 78625f90a92275f9de0cbdda102d5526a82302c9 /cmd-display-panes.c | |
parent | 5458cb28502dbdce933827853c31b276b51f3741 (diff) |
Do not notify window-layout-changed if the window is about to be
destroyed (since it may have been freed by the time the notify happens),
from Romain Francoise in GitHub issue 3860.
Diffstat (limited to 'cmd-display-panes.c')
-rw-r--r-- | cmd-display-panes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-panes.c b/cmd-display-panes.c index 06f6dc27..25556f3d 100644 --- a/cmd-display-panes.c +++ b/cmd-display-panes.c @@ -246,7 +246,7 @@ cmd_display_panes_key(struct client *c, void *data, struct key_event *event) wp = window_pane_at_index(w, index); if (wp == NULL) return (1); - window_unzoom(w); + window_unzoom(w, 1); xasprintf(&expanded, "%%%u", wp->id); |