screen_redraw_window implies status and borders, so can remove those.
On Thu, Feb 19, 2015 at 08:27:57AM +0000, Thomas Adam wrote:
> On Thu, Feb 19, 2015 at 01:49:14AM -0600, J Raynor wrote:
> > I've attached a new patch. There are 2 new window options,
> > window-style and window-active-style, that allow you to set the
> > window's color and the window's active pane color. The display-panes
> > command can still be used to set an explicit pane color with -P.
> >
> > tty_attributes now takes a window pane argument, and tty_draw_lines
> > doesn't mess with the grid cells itself. tty_reset calls
> > tty_attributes, but I'm not sure I understood exactly what you were
> > looking for here.
>
> It's _still_ missing a fix in server-client. See the following:
>
>
> diff --git a/server-client.c b/server-client.c
> index 3ca9907..a847777 100644
> --- a/server-client.c
> +++ b/server-client.c
> @@ -329,6 +329,7 @@ server_client_check_mouse(struct client *c, struct
> window_pane *wp)
> (m->event == MOUSE_EVENT_DOWN || m->event == MOUSE_EVENT_WHEEL)) {
> window_set_active_at(wp->window, m->x, m->y);
> server_status_window(wp->window);
> + server_redraw_window(wp->window);
> server_redraw_window_borders(wp->window);
> wp = wp->window->active; /* may have changed */
> }
>
> -- Thomas Adam
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users