aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-15 00:00:01 +0000
committernicm <nicm>2015-12-15 00:00:01 +0000
commit12da13c9d1e0e015ed19761e352ee6b877b23aa4 (patch)
tree2e8a12562054300f12fb2fc782c57d54ae4a4853 /window.c
parentd5999f8b5cbbd3648d7a6c00100e5eab279a90bb (diff)
downloadrtmux-12da13c9d1e0e015ed19761e352ee6b877b23aa4.tar.gz
rtmux-12da13c9d1e0e015ed19761e352ee6b877b23aa4.tar.bz2
rtmux-12da13c9d1e0e015ed19761e352ee6b877b23aa4.zip
Make the marked pane a cmd_find_state.
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index 75b99672..f0e57190 100644
--- a/window.c
+++ b/window.c
@@ -568,7 +568,7 @@ window_add_pane(struct window *w, u_int hlimit)
void
window_lost_pane(struct window *w, struct window_pane *wp)
{
- if (wp == marked_window_pane)
+ if (wp == marked_pane.wp)
server_clear_marked();
if (wp == w->active) {
@@ -691,7 +691,7 @@ window_printable_flags(struct session *s, struct winlink *wl)
flags[pos++] = '*';
if (wl == TAILQ_FIRST(&s->lastw))
flags[pos++] = '-';
- if (server_check_marked() && wl == marked_winlink)
+ if (server_check_marked() && wl == marked_pane.wl)
flags[pos++] = 'M';
if (wl->window->flags & WINDOW_ZOOMED)
flags[pos++] = 'Z';