aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-02-02 01:58:47 +0000
committerTiago Cunha <tcunha@gmx.com>2012-02-02 01:58:47 +0000
commit509a7e8b73e6ed60ceb579cead2f073307120927 (patch)
treef5886a11ccaa4205194c89c1371d4e42e6976388
parent98e24b9f7010f99513cd78afe219a4221a13156f (diff)
downloadrtmux-509a7e8b73e6ed60ceb579cead2f073307120927.tar.gz
rtmux-509a7e8b73e6ed60ceb579cead2f073307120927.tar.bz2
rtmux-509a7e8b73e6ed60ceb579cead2f073307120927.zip
Sync OpenBSD patchset 1023:
Do not change pane when changing window with mouse on status line, pointed out by Romain Francoise.
-rw-r--r--server-client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server-client.c b/server-client.c
index 8865865b..31083d27 100644
--- a/server-client.c
+++ b/server-client.c
@@ -292,6 +292,8 @@ server_client_check_mouse(
}
return;
}
+ memcpy(&c->last_mouse, mouse, sizeof c->last_mouse);
+ return;
}
/*