commit d1b98ed3ff1d6a9831d7cf41f89721af868da3a5
parent 35b69241970185b21bffa31d955d08cbd79a63ea
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Thu, 26 Apr 2007 12:04:02 -0700
client detaching now preserves unaffected tags (client remains on other views)
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wmiirc-config.rb b/wmiirc-config.rb
@@ -587,7 +587,8 @@ EOF
shortcut Key::PREFIX + 'd' do
grouped_clients.each do |c|
c.with_tags do
- c.tags = DETACHED_TAG
+ delete current_tag
+ push DETACHED_TAG
end
end
end
@@ -598,7 +599,8 @@ EOF
if v.exist? and c = v.clients.last
c.with_tags do
- c.tags = current_tag
+ delete DETACHED_TAG
+ push current_tag
end
end
end