wmiirc-rumai

git clone git://oldgit.suckless.org/wmiirc-rumai/
Log | Files | Refs | README | LICENSE

commit 01d359c7b8e328bfdc2540ef5a3958dd96945144
parent 59daad1c50c38c0fef9bc2daf1f878e441f86b82
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date:   Sat,  2 Feb 2008 23:14:21 -0800

make :clear action more resilient

Diffstat:
wmiirc-config.rb | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/wmiirc-config.rb b/wmiirc-config.rb @@ -164,13 +164,12 @@ EOF # gnome-panel refuses to die by other means system 'killall -s TERM gnome-panel' - clients.each do |c| - while c.exist? + until (clients = Rumai.clients).empty? + clients.each do |c| begin c.focus c.ctl.write :kill - rescue IXP::Error - # ignore and retry + rescue end end end