From 51909a107f312a20e77e7c975c3fbc1a98d7bc7e Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 22 Sep 2020 06:44:52 +0000 Subject: [PATCH] Resize screen to the correct size (borders need to be taken off). --- popup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.c b/popup.c index 87658a6f..97acebfd 100644 --- a/popup.c +++ b/popup.c @@ -262,7 +262,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)