mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 08:18:48 +00:00
Log window and pane resizes.
This commit is contained in:
parent
80d76612b8
commit
c599ad63f8
2
window.c
2
window.c
@ -412,6 +412,7 @@ window_set_name(struct window *w, const char *new_name)
|
|||||||
void
|
void
|
||||||
window_resize(struct window *w, u_int sx, u_int sy)
|
window_resize(struct window *w, u_int sx, u_int sy)
|
||||||
{
|
{
|
||||||
|
log_debug("%s: @%u resize %ux%u", __func__, w->id, sx, sy);
|
||||||
w->sx = sx;
|
w->sx = sx;
|
||||||
w->sy = sy;
|
w->sy = sy;
|
||||||
}
|
}
|
||||||
@ -923,6 +924,7 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy)
|
|||||||
wp->sx = sx;
|
wp->sx = sx;
|
||||||
wp->sy = sy;
|
wp->sy = sy;
|
||||||
|
|
||||||
|
log_debug("%s: %%%u resize %ux%u", __func__, wp->id, sx, sy);
|
||||||
screen_resize(&wp->base, sx, sy, wp->saved_grid == NULL);
|
screen_resize(&wp->base, sx, sy, wp->saved_grid == NULL);
|
||||||
|
|
||||||
wme = TAILQ_FIRST(&wp->modes);
|
wme = TAILQ_FIRST(&wp->modes);
|
||||||
|
Loading…
Reference in New Issue
Block a user