mirror of
https://github.com/tmux/tmux.git
synced 2026-10-12 21:54:23 +00:00
Invalidate scene when window is resized.
This commit is contained in:
4
window.c
4
window.c
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: window.c,v 1.366 2026/07/19 19:53:11 nicm Exp $ */
|
/* $OpenBSD: window.c,v 1.367 2026/07/21 13:04:01 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -573,13 +573,13 @@ window_resize(struct window *w, u_int sx, u_int sy, int xpixel, int ypixel)
|
|||||||
w->sy = sy;
|
w->sy = sy;
|
||||||
if (w->menu != NULL) {
|
if (w->menu != NULL) {
|
||||||
menu_resize(w->menu, w);
|
menu_resize(w->menu, w);
|
||||||
redraw_invalidate_scene(w);
|
|
||||||
server_redraw_window(w);
|
server_redraw_window(w);
|
||||||
}
|
}
|
||||||
if (xpixel != -1)
|
if (xpixel != -1)
|
||||||
w->xpixel = xpixel;
|
w->xpixel = xpixel;
|
||||||
if (ypixel != -1)
|
if (ypixel != -1)
|
||||||
w->ypixel = ypixel;
|
w->ypixel = ypixel;
|
||||||
|
redraw_invalidate_scene(w);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user