Use correct size for screen when popup is created without borders.

pull/3160/head
nicm 2022-02-22 11:01:57 +00:00 committed by Nicholas Marriott
parent 4893edd5d6
commit f74a98cd07
1 changed files with 1 additions and 1 deletions

View File

@ -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);