artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7bbaa
)
Use correct size for screen when popup is created without borders.
author
nicm
<nicm@openbsd.org>
Tue, 22 Feb 2022 11:01:57 +0000
(11:01 +0000)
committer
nicm
<nicm@openbsd.org>
Tue, 22 Feb 2022 11:01:57 +0000
(11:01 +0000)
usr.bin/tmux/popup.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/popup.c
b/usr.bin/tmux/popup.c
index
a9dfe37
..
e5136be
100644
(file)
--- a/
usr.bin/tmux/popup.c
+++ b/
usr.bin/tmux/popup.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: popup.c,v 1.4
5 2022/02/16 18:55:05
nicm Exp $ */
+/* $OpenBSD: popup.c,v 1.4
6 2022/02/22 11:01:57
nicm Exp $ */
/*
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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);