aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-09-22 10:01:17 +0100
committerThomas Adam <thomas@xteddy.org>2020-09-22 10:01:17 +0100
commit859a4c346073a0b504247078406f85efce89f7a0 (patch)
treec093c8cd4a4b5e163ece133cbb2c9d12d038edeb /popup.c
parenta34ceb1074488b2adb6edce4c1342025e1ac1c1d (diff)
parentb9392d5cb16d4c6e95aabb65a0472acc49c2eb6b (diff)
downloadrtmux-859a4c346073a0b504247078406f85efce89f7a0.tar.gz
rtmux-859a4c346073a0b504247078406f85efce89f7a0.tar.bz2
rtmux-859a4c346073a0b504247078406f85efce89f7a0.zip
Merge branch 'obsd-master'
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/popup.c b/popup.c
index 6f2ab101..0ad20c5f 100644
--- a/popup.c
+++ b/popup.c
@@ -261,7 +261,7 @@ popup_handle_drag(struct client *c, struct popup_data *pd,
pd->sx = m->x - pd->px;
pd->sy = m->y - pd->py;
- screen_resize(&pd->s, pd->sx, pd->sy, 0);
+ screen_resize(&pd->s, pd->sx - 2, pd->sy - 2, 0);
if (pd->ictx == NULL)
popup_write_screen(c, pd);
else if (pd->job != NULL)