mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Use correct size for screen when popup is created without borders.
This commit is contained in:
parent
4893edd5d6
commit
f74a98cd07
2
popup.c
2
popup.c
@ -689,7 +689,7 @@ popup_display(int flags, enum box_lines lines, struct cmdq_item *item, u_int px,
|
||||
}
|
||||
pd->border_cell.attr = 0;
|
||||
|
||||
screen_init(&pd->s, sx - 2, sy - 2, 0);
|
||||
screen_init(&pd->s, jx, jy, 0);
|
||||
colour_palette_init(&pd->palette);
|
||||
colour_palette_from_option(&pd->palette, global_w_options);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user