diff options
author | nicm <nicm> | 2022-02-22 11:01:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-02-22 11:01:57 +0000 |
commit | a9b880921dce2836611873a4ec85e9425dc08b40 (patch) | |
tree | 94f12e794e42da5720eccf3fef0b76de445b1f12 /popup.c | |
parent | 818b2176ef52a13867905d3d3e0269dc1b4d6fb4 (diff) |
Use correct size for screen when popup is created without borders.
Diffstat (limited to 'popup.c')
-rw-r--r-- | popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -690,7 +690,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); |