aboutsummaryrefslogtreecommitdiff
path: root/popup.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-07 16:01:29 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-07 16:01:29 +0100
commit6a2f32b4fdb5bdea21594f1305b4c96e9e1bf46d (patch)
treebe3b0e9dd882ab21414cb79992e41ca6f1bc521e /popup.c
parent8fa0b0cd2677efbabc259db09ae736febe301272 (diff)
parent1c8f7c1f7afcc7d2a9fcef8d38e6c0e4451da659 (diff)
downloadrtmux-6a2f32b4fdb5bdea21594f1305b4c96e9e1bf46d.tar.gz
rtmux-6a2f32b4fdb5bdea21594f1305b4c96e9e1bf46d.tar.bz2
rtmux-6a2f32b4fdb5bdea21594f1305b4c96e9e1bf46d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'popup.c')
-rw-r--r--popup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/popup.c b/popup.c
index 299d4e76..d23c2001 100644
--- a/popup.c
+++ b/popup.c
@@ -200,9 +200,9 @@ popup_handle_drag(struct client *c, struct popup_data *pd,
pd->dy = m->y - pd->py;
server_redraw_client(c);
} else if (pd->dragging == SIZE) {
- if (m->x < pd->px + 2)
+ if (m->x < pd->px + 3)
return;
- if (m->y < pd->py + 2)
+ if (m->y < pd->py + 3)
return;
pd->sx = m->x - pd->px;
pd->sy = m->y - pd->py;