diff options
author | nicm <nicm> | 2015-08-29 00:39:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-08-29 00:39:18 +0000 |
commit | 5267ce8ff41e8c5e69fa5d05da92b61e739c328a (patch) | |
tree | 3c5b4278ac01146e90bdf147d91b4b7a2e311386 | |
parent | b7861f34bae7a9e00446e0a8cf2f38e220c41c79 (diff) | |
download | rtmux-5267ce8ff41e8c5e69fa5d05da92b61e739c328a.tar.gz rtmux-5267ce8ff41e8c5e69fa5d05da92b61e739c328a.tar.bz2 rtmux-5267ce8ff41e8c5e69fa5d05da92b61e739c328a.zip |
Treat entering or leaving a mode as pane changed.
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1066,7 +1066,7 @@ window_pane_set_mode(struct window_pane *wp, const struct window_mode *mode) if ((s = wp->mode->init(wp)) != NULL) wp->screen = s; - wp->flags |= PANE_REDRAW; + wp->flags |= (PANE_REDRAW|PANE_CHANGED); return (0); } @@ -1080,7 +1080,7 @@ window_pane_reset_mode(struct window_pane *wp) wp->mode = NULL; wp->screen = &wp->base; - wp->flags |= PANE_REDRAW; + wp->flags |= (PANE_REDRAW|PANE_CHANGED); } void |