diff options
author | 2012-01-29 09:37:02 +0000 | |
---|---|---|
committer | 2012-01-29 09:37:02 +0000 | |
commit | be5b7d79021c814602bdb2aeab38d090969aed10 (patch) | |
tree | 42ef6bcc621e4f7dbf5a5b52e41e491a7fedf116 /usr.bin/tmux/layout.c | |
parent | fix previous: grp is unused here just check the return value (diff) | |
download | wireguard-openbsd-be5b7d79021c814602bdb2aeab38d090969aed10.tar.xz wireguard-openbsd-be5b7d79021c814602bdb2aeab38d090969aed10.zip |
Add an option to move the status line to the top of the screen,
requested by many.
Diffstat (limited to 'usr.bin/tmux/layout.c')
-rw-r--r-- | usr.bin/tmux/layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/layout.c b/usr.bin/tmux/layout.c index ff49811aff9..b6bd6040e87 100644 --- a/usr.bin/tmux/layout.c +++ b/usr.bin/tmux/layout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: layout.c,v 1.7 2011/05/08 20:34:12 nicm Exp $ */ +/* $OpenBSD: layout.c,v 1.8 2012/01/29 09:37:02 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -502,14 +502,14 @@ layout_resize_pane_mouse(struct client *c, struct mouse_event *mouse) wp->yoff <= 1 + c->last_mouse.y && wp->yoff + wp->sy >= c->last_mouse.y) { layout_resize_pane(wp, LAYOUT_LEFTRIGHT, - mouse->x - c->last_mouse.x); + mouse->x - c->last_mouse.x); pane_border = 1; } if (wp->yoff + wp->sy == c->last_mouse.y && wp->xoff <= 1 + c->last_mouse.x && wp->xoff + wp->sx >= c->last_mouse.x) { layout_resize_pane(wp, LAYOUT_TOPBOTTOM, - mouse->y - c->last_mouse.y); + mouse->y - c->last_mouse.y); pane_border = 1; } } |