=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.177 retrieving revision 1.178 diff -c -r1.177 -r1.178 *** src/usr.bin/tmux/status.c 2018/08/19 16:45:03 1.177 --- src/usr.bin/tmux/status.c 2018/08/20 20:41:58 1.178 *************** *** 1,4 **** ! /* $OpenBSD: status.c,v 1.177 2018/08/19 16:45:03 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: status.c,v 1.178 2018/08/20 20:41:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 284,290 **** const char *sep; size_t seplen; ! x += c->wlmouse; RB_FOREACH(wl, winlinks, &s->windows) { oo = wl->window->options; --- 284,290 ---- const char *sep; size_t seplen; ! x += c->status.window_list_offset; RB_FOREACH(wl, winlinks, &s->windows) { oo = wl->window->options; *************** *** 506,512 **** wloffset++; /* Copy the window list. */ ! c->wlmouse = -wloffset + wlstart; screen_write_cursormove(&ctx, wloffset, 0); screen_write_fast_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1); screen_free(&window_list); --- 506,512 ---- wloffset++; /* Copy the window list. */ ! c->status.window_list_offset = -wloffset + wlstart; screen_write_cursormove(&ctx, wloffset, 0); screen_write_fast_copy(&ctx, &window_list, wlstart, 0, wlwidth, 1); screen_free(&window_list);