Revision: 2711
http://tmux.svn.sourceforge.net/tmux/?rev=2711&view=rev
Author: tcunha
Date: 2012-03-07 13:35:03 +0000 (Wed, 07 Mar 2012)
Log Message:
-----------
Sync OpenBSD patchset 1036:
The wlmouse offset should be part of the client, not the server. From
Ailin Nemui.
Modified Paths:
--------------
trunk/status.c
trunk/tmux.h
Modified: trunk/status.c
===================================================================
--- trunk/status.c 2012-03-03 09:19:40 UTC (rev 2710)
+++ trunk/status.c 2012-03-07 13:35:03 UTC (rev 2711)
@@ -141,7 +141,7 @@
struct session *s = c->session;
struct winlink *wl;
- x += s->wlmouse;
+ x += c->wlmouse;
RB_FOREACH(wl, winlinks, &s->windows) {
if (x < wl->status_width &&
session_select(s, wl->idx) == 0) {
@@ -356,7 +356,7 @@
wloffset++;
/* Copy the window list. */
- s->wlmouse = -wloffset + wlstart;
+ c->wlmouse = -wloffset + wlstart;
screen_write_cursormove(&ctx, wloffset, 0);
screen_write_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1);
screen_free(&window_list);
Modified: trunk/tmux.h
===================================================================
--- trunk/tmux.h 2012-03-03 09:19:40 UTC (rev 2710)
+++ trunk/tmux.h 2012-03-07 13:35:03 UTC (rev 2711)
@@ -971,8 +971,6 @@
struct environ environ;
- int wlmouse;
-
int references;
TAILQ_ENTRY(session) gentry;
@@ -1195,6 +1193,8 @@
struct mouse_event last_mouse;
+ int wlmouse;
+
int references;
};
ARRAY_DECL(clients, struct client *);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs