Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code

This commit is contained in:
Nicholas Marriott 2013-10-05 09:14:35 +01:00
commit 3493b7dac7

View File

@ -553,7 +553,7 @@ layout_resize_pane_mouse(struct client *c)
} }
if (pane_border) if (pane_border)
server_redraw_window(w); server_redraw_window(w);
} else if (~m->event & MOUSE_EVENT_UP) { } else if (m->event & MOUSE_EVENT_DOWN) {
TAILQ_FOREACH(wp, &w->panes, entry) { TAILQ_FOREACH(wp, &w->panes, entry) {
if ((wp->xoff + wp->sx == m->x && if ((wp->xoff + wp->sx == m->x &&
wp->yoff <= 1 + m->y && wp->yoff <= 1 + m->y &&