mirror of
https://github.com/tmux/tmux.git
synced 2024-11-10 13:48:48 +00:00
Resize screen to the correct size (borders need to be taken off).
This commit is contained in:
parent
86d6ac2f06
commit
51909a107f
2
popup.c
2
popup.c
@ -262,7 +262,7 @@ popup_handle_drag(struct client *c, struct popup_data *pd,
|
||||
pd->sx = m->x - pd->px;
|
||||
pd->sy = m->y - pd->py;
|
||||
|
||||
screen_resize(&pd->s, pd->sx, pd->sy, 0);
|
||||
screen_resize(&pd->s, pd->sx - 2, pd->sy - 2, 0);
|
||||
if (pd->ictx == NULL)
|
||||
popup_write_screen(c, pd);
|
||||
else if (pd->job != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user