summaryrefslogtreecommitdiffstats
path: root/cmd-select-pane.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 /cmd-select-pane.c
parentd5999f8b5cbbd3648d7a6c00100e5eab279a90bb (diff)
Make the marked pane a cmd_find_state.
Diffstat (limited to 'cmd-select-pane.c')
-rw-r--r--cmd-select-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-select-pane.c b/cmd-select-pane.c
index 7652f608..6ebe753c 100644
--- a/cmd-select-pane.c
+++ b/cmd-select-pane.c
@@ -94,13 +94,13 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
if (args_has(args, 'm') || args_has(args, 'M')) {
if (args_has(args, 'm') && !window_pane_visible(wp))
return (CMD_RETURN_NORMAL);
- lastwp = marked_window_pane;
+ lastwp = marked_pane.wp;
if (args_has(args, 'M') || server_is_marked(s, wl, wp))
server_clear_marked();
else
server_set_marked(s, wl, wp);
- markedwp = marked_window_pane;
+ markedwp = marked_pane.wp;
if (lastwp != NULL) {
server_redraw_window_borders(lastwp->window);