summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-01-29 09:37:02 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-01-29 09:37:02 +0000
commit230d0fbc9e273a171e811f58b540163fe871df5e (patch)
tree4ad5639d35a19bb1592a2050a4161ff2411323e2 /layout.c
parent9bbc63ed653e6ca73e4eaebd6f52466d53a4da73 (diff)
Add an option to move the status line to the top of the screen,
requested by many.
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/layout.c b/layout.c
index a07ae2d5..429e103e 100644
--- a/layout.c
+++ b/layout.c
@@ -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;
}
}