mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 22:26:18 +00:00
window_pane_move is not used.
This commit is contained in:
2
format.c
2
format.c
@@ -2263,7 +2263,6 @@ format_cb_pane_minimised_flag(struct format_tree *ft)
|
|||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Callback for pane_mode. */
|
/* Callback for pane_mode. */
|
||||||
static void *
|
static void *
|
||||||
format_cb_pane_mode(struct format_tree *ft)
|
format_cb_pane_mode(struct format_tree *ft)
|
||||||
@@ -4236,7 +4235,6 @@ format_strip(struct format_expand_state *es, const char *s)
|
|||||||
return (out);
|
return (out);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Skip until end. */
|
/* Skip until end. */
|
||||||
static const char *
|
static const char *
|
||||||
format_skip1(struct format_expand_state *es, const char *s, const char *end)
|
format_skip1(struct format_expand_state *es, const char *s, const char *end)
|
||||||
|
|||||||
1
tmux.h
1
tmux.h
@@ -3445,7 +3445,6 @@ struct window_pane *window_pane_find_by_id_str(const char *);
|
|||||||
struct window_pane *window_pane_find_by_id(u_int);
|
struct window_pane *window_pane_find_by_id(u_int);
|
||||||
int window_pane_destroy_ready(struct window_pane *);
|
int window_pane_destroy_ready(struct window_pane *);
|
||||||
void window_pane_resize(struct window_pane *, u_int, u_int);
|
void window_pane_resize(struct window_pane *, u_int, u_int);
|
||||||
void window_pane_move(struct window_pane *, int, int);
|
|
||||||
int window_pane_set_mode(struct window_pane *,
|
int window_pane_set_mode(struct window_pane *,
|
||||||
struct window_pane *, const struct window_mode *,
|
struct window_pane *, const struct window_mode *,
|
||||||
struct cmd_find_state *, struct args *);
|
struct cmd_find_state *, struct args *);
|
||||||
|
|||||||
9
window.c
9
window.c
@@ -1219,15 +1219,6 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy)
|
|||||||
wme->mode->resize(wme, sx, sy);
|
wme->mode->resize(wme, sx, sy);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
window_pane_move(struct window_pane *wp, int xoff, int yoff)
|
|
||||||
{
|
|
||||||
wp->xoff = xoff;
|
|
||||||
wp->yoff = yoff;
|
|
||||||
|
|
||||||
log_debug("%s: %%%u resize %ux%u", __func__, wp->id, xoff, yoff);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
window_pane_set_mode(struct window_pane *wp, struct window_pane *swp,
|
window_pane_set_mode(struct window_pane *wp, struct window_pane *swp,
|
||||||
const struct window_mode *mode, struct cmd_find_state *fs,
|
const struct window_mode *mode, struct cmd_find_state *fs,
|
||||||
|
|||||||
Reference in New Issue
Block a user