The branch, jr/pane-colours has been updated
       via  f85a0fcfe9cc54aecdca205e2f2c93cce2235d47 (commit)
      from  7c2f2fdbbc7980df7725c5e5ad67f003063457c0 (commit)

- Log -----------------------------------------------------------------
commit f85a0fcfe9cc54aecdca205e2f2c93cce2235d47
Author: Thomas Adam <tho...@xteddy.org>
Commit: Thomas Adam <tho...@xteddy.org>

    Update window on mouse-select-pane
    
    If a pane has a different background, and grouped sessions are in use, when
    using the mouse to select a pane, also update the window to reflect the fact
    the window pane needs a redraw.
    
    This doesn't happen with select-pane via a key-binding, due to a different
    code-path.
---
 server-client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server-client.c b/server-client.c
index 3ca9907..c26c1e7 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 */
        }


-----------------------------------------------------------------------

Summary of changes:
 server-client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
tmux-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to