diff options
author | nicm <nicm> | 2020-09-22 06:44:52 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-09-22 06:44:52 +0000 |
commit | 51909a107f312a20e77e7c975c3fbc1a98d7bc7e (patch) | |
tree | a6f6bbbf7797c11490f8599c7a2dec8c423a8401 /popup.c | |
parent | 86d6ac2f0695b02bdbef542cce3cdb0cca39160e (diff) | |
download | rtmux-51909a107f312a20e77e7c975c3fbc1a98d7bc7e.tar.gz rtmux-51909a107f312a20e77e7c975c3fbc1a98d7bc7e.tar.bz2 rtmux-51909a107f312a20e77e7c975c3fbc1a98d7bc7e.zip |
Resize screen to the correct size (borders need to be taken off).
Diffstat (limited to 'popup.c')
-rw-r--r-- | popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |