Argl, sorry, forgot to attach.


On Wed, Oct 27, 2010 at 05:01:04PM +0100, Nicholas Marriott wrote:
> what bell patch?
> 
> 
> On Wed, Oct 27, 2010 at 04:09:25PM +0200, Lukas Grässlin wrote:
> > Hi there,
> > 
> > would it be possible to apply that bell patch to mainstream?
> > 
> > With this the urgent hint in the window manager is set when a bell in a
> > tmux terminal occurs. The same thing which screen does.
> > 
> > This is really helpfull I think.
> > 
> > Regards,
> >     Lukas Grässlin
> > 
> > -- 
> > Lukas Grässlin
> > 
> > Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany
> > 
> > p: +49 (0) 89-990 157-23
> > 
> > Collax - Flexible IT.
> > 
> > Geschäftsführer: Bernd Bönte, Boris Nalbach
> > Amtsgericht München, HRB 173695
> > USt-ID: DE270819312
> > 
> > ------------------------------------------------------------------------------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> > Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> > http://p.sf.net/sfu/nokia-dev2dev
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users

-- 
Lukas Grässlin
GnuPG-Key: http://lg.ath.cx/lukasgraess...@gmx.de.asc
diff -Nur tmux-1.3.old//server-window.c tmux-1.3/server-window.c
--- tmux-1.3.old//server-window.c       2010-10-01 09:40:40.000000000 +0200
+++ tmux-1.3/server-window.c    2010-10-01 09:42:34.000000000 +0200
@@ -109,10 +109,9 @@
 
        if (!(w->flags & WINDOW_BELL) || wl->flags & WINLINK_BELL)
                return (0);
-       if (s->curw == wl)
-               return (0);
 
-       wl->flags |= WINLINK_BELL;
+       if (s->curw != wl)
+               wl->flags |= WINLINK_BELL;
 
        action = options_get_number(&s->options, "bell-action");
        switch (action) {
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to