Revision: 2775
          http://tmux.svn.sourceforge.net/tmux/?rev=2775&view=rev
Author:   tcunha
Date:     2012-04-12 12:44:26 +0000 (Thu, 12 Apr 2012)
Log Message:
-----------
Sync OpenBSD patchset 1093:

Turn automatic-rename off properly if turned off by renaming a
window. Reported by Romain Francoise.

Modified Paths:
--------------
    trunk/names.c

Modified: trunk/names.c
===================================================================
--- trunk/names.c       2012-04-12 12:43:40 UTC (rev 2774)
+++ trunk/names.c       2012-04-12 12:44:26 UTC (rev 2775)
@@ -49,7 +49,12 @@
        struct window   *w = data;
        char            *name, *wname;
 
-       queue_window_name(w); /* stopped when option turned off */
+       if (!options_get_number(&w->options, "automatic-rename")) {
+               if (event_initialized(&w->name_timer))
+                       event_del(&w->name_timer);
+               return;
+       }
+       queue_window_name(w);
 
        if (w->active->screen != &w->active->base)
                name = NULL;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to