commit 6ae5dad2d0437fd1463176dc3a682d3e46682f69
parent bb7ad4c4e74e287c2e2460764c6fd0ff5b85258c
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Mon, 18 May 2009 20:43:19 -0700
ignore error when client appears and disappears very quickly
Diffstat:
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/config.rb b/config.rb
@@ -294,8 +294,12 @@ def load_config config_file
end
# force client onto current view
- client.tags = curr_tag
- client.focus
+ begin
+ client.tags = curr_tag
+ client.focus
+ rescue
+ # ignore
+ end
end
end
end