aboutsummaryrefslogtreecommitdiff
path: root/layout.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-01-29 12:57:01 +0000
committerTiago Cunha <tcunha@gmx.com>2012-01-29 12:57:01 +0000
commite4a7cefe0c1e9c61ea6c1510f67ce163cf25616e (patch)
tree1d51a3bcadbd4b16cb51f282cd5a003270d345df /layout.c
parente23df3af5a57d28ba40b14db1ad6d62f0ee99940 (diff)
downloadrtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.tar.gz
rtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.tar.bz2
rtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.zip
Sync OpenBSD patchset 1015:
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 f4e05e70..eada12a8 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;
}
}