summaryrefslogtreecommitdiff
path: root/windowspopover/popover.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-11 11:00:56 -0400
committerPietro Gagliardi <[email protected]>2014-10-11 11:00:56 -0400
commita15c27e81d9dadf44865e109f874bf07c0004ce8 (patch)
treee531c4837f6e1c66801385c52654f04fef3c9e81 /windowspopover/popover.c
parentcd265df14e9c009c745dfd0eebf6048f84ad7128 (diff)
Integrated the extracted Popover code with the Windows Popover.
Diffstat (limited to 'windowspopover/popover.c')
-rw-r--r--windowspopover/popover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/windowspopover/popover.c b/windowspopover/popover.c
index 000b755..2c2bf66 100644
--- a/windowspopover/popover.c
+++ b/windowspopover/popover.c
@@ -144,6 +144,7 @@ popoverRect popoverPointAt(popover *p, popoverRect control, intptr_t width, intp
intptr_t x, y;
popoverRect out;
+ // account for border
width += 2;
height += 2;
p->arrowLeft = -1;