aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-10-05 09:14:35 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-10-05 09:14:35 +0100
commit3493b7dac7785a1675a2fc70e37c4461bb18043c (patch)
tree43c1b04086befd02d34b5f5ee6d5ac3ad97d72f4
parentd51b4f92d7c9899694e9ef8334030ceb512cb2de (diff)
parent2057812c8f293b0295740f9b31f877629fc43888 (diff)
downloadrtmux-3493b7dac7785a1675a2fc70e37c4461bb18043c.tar.gz
rtmux-3493b7dac7785a1675a2fc70e37c4461bb18043c.tar.bz2
rtmux-3493b7dac7785a1675a2fc70e37c4461bb18043c.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index cf554c38..646d1bd9 100644
--- a/layout.c
+++ b/layout.c
@@ -553,7 +553,7 @@ layout_resize_pane_mouse(struct client *c)
}
if (pane_border)
server_redraw_window(w);
- } else if (~m->event & MOUSE_EVENT_UP) {
+ } else if (m->event & MOUSE_EVENT_DOWN) {
TAILQ_FOREACH(wp, &w->panes, entry) {
if ((wp->xoff + wp->sx == m->x &&
wp->yoff <= 1 + m->y &&