=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-resize-pane.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- src/usr.bin/tmux/cmd-resize-pane.c 2019/05/03 16:51:29 1.36 +++ src/usr.bin/tmux/cmd-resize-pane.c 2019/05/03 18:42:40 1.37 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-resize-pane.c,v 1.36 2019/05/03 16:51:29 nicm Exp $ */ +/* $OpenBSD: cmd-resize-pane.c,v 1.37 2019/05/03 18:42:40 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -143,7 +143,7 @@ } w = wl->window; - y = m->y; x = m->x; + y = m->y + m->oy; x = m->x + m->ox; if (m->statusat == 0 && y > 0) y--; else if (m->statusat > 0 && y >= (u_int)m->statusat)