aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-05-03 19:02:27 +0100
committerThomas Adam <thomas@xteddy.org>2019-05-03 19:02:27 +0100
commita14512e23ef902ee0e1ef3188069f4a747dbbb6d (patch)
tree8b64f237c291aefbc9240e33738d29f964a1f34d /cmd-resize-pane.c
parent43656d4ea7cb70e3e50b73405f71def5e322c94c (diff)
parentfc3d85e34bf323762ac000b44bfd4a6b33aad37c (diff)
downloadrtmux-a14512e23ef902ee0e1ef3188069f4a747dbbb6d.tar.gz
rtmux-a14512e23ef902ee0e1ef3188069f4a747dbbb6d.tar.bz2
rtmux-a14512e23ef902ee0e1ef3188069f4a747dbbb6d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-resize-pane.c')
-rw-r--r--cmd-resize-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-resize-pane.c b/cmd-resize-pane.c
index 31474f3f..410a6257 100644
--- a/cmd-resize-pane.c
+++ b/cmd-resize-pane.c
@@ -148,7 +148,7 @@ cmd_resize_pane_mouse_update(struct client *c, struct mouse_event *m)
y--;
else if (m->statusat > 0 && y >= (u_int)m->statusat)
y = m->statusat - 1;
- ly = m->ly; lx = m->lx;
+ ly = m->ly + m->oy; lx = m->lx + m->ox;
if (m->statusat == 0 && ly > 0)
ly--;
else if (m->statusat > 0 && ly >= (u_int)m->statusat)