diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-02-02 00:04:55 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-02-02 00:04:55 +0000 |
commit | 398a7f0354efefb140cc6cb2c9c3f621d2e6dfae (patch) | |
tree | d172dee2e6f3de9b06cb9e9ae7a68f48d684b55c /usr.bin/tmux/server-client.c | |
parent | 2af30434eefed53202feb66c58c552b707ce369d (diff) |
Do not change pane when changing window with mouse on status line,
pointed out by Romain Francoise.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r-- | usr.bin/tmux/server-client.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c index 16992d0525a..cddbe32c691 100644 --- a/usr.bin/tmux/server-client.c +++ b/usr.bin/tmux/server-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-client.c,v 1.66 2012/01/29 09:37:02 nicm Exp $ */ +/* $OpenBSD: server-client.c,v 1.67 2012/02/02 00:04:54 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -293,6 +293,8 @@ server_client_check_mouse( } return; } + memcpy(&c->last_mouse, mouse, sizeof c->last_mouse); + return; } /* |