aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-08-28 10:01:08 +0100
committerThomas Adam <thomas@xteddy.org>2015-08-28 10:01:08 +0100
commit031d7ce840b34ad0286d4b1345067e868f6ceccd (patch)
tree80e5cbe37f6b11184ebc5a53bcef560b50c8a30d /window.c
parentce20572ace265e3c457752b34a83bd3c47cd3b40 (diff)
parent25faca41eb30bc7cba95da0103bfa6fdda4d9a8b (diff)
downloadrtmux-031d7ce840b34ad0286d4b1345067e868f6ceccd.tar.gz
rtmux-031d7ce840b34ad0286d4b1345067e868f6ceccd.tar.bz2
rtmux-031d7ce840b34ad0286d4b1345067e868f6ceccd.zip
Merge branch 'obsd-master'
Diffstat (limited to 'window.c')
-rw-r--r--window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/window.c b/window.c
index 1a6d74e6..525dad51 100644
--- a/window.c
+++ b/window.c
@@ -411,6 +411,7 @@ window_set_active_pane(struct window *w, struct window_pane *wp)
return (1);
}
w->active->active_point = next_active_point++;
+ w->active->flags |= PANE_CHANGED;
return (1);
}
@@ -947,7 +948,7 @@ window_pane_read_callback(unused struct bufferevent *bufev, void *data)
*/
wp->window->flags |= WINDOW_SILENCE;
if (gettimeofday(&wp->window->silence_timer, NULL) != 0)
- fatal("gettimeofday failed.");
+ fatal("gettimeofday failed");
return;
start_timer: