wmiirc-rumai

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

commit e7fa289d3110b6bd290c73e4bec43ed063ce98a3
parent 3c33c9f2422610ffa16a19e1e62e25d199d663b4
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date:   Tue, 27 Feb 2007 03:08:35 -0800

fix 'bad value' exceptions occur upon 'select ...' commands in an empty floating area

- we can safely ignore these because that's what the shell-script based wmiirc's do

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

diff --git a/wmiirc-config.rb b/wmiirc-config.rb @@ -168,22 +168,22 @@ SHORTCUTS = { # focus client at left MOD_FOCUS + LEFT_KEY => lambda do - current_view.ctl << 'select left' + current_view.ctl << 'select left' rescue nil end, # focus client at right MOD_FOCUS + RIGHT_KEY => lambda do - current_view.ctl << 'select right' + current_view.ctl << 'select right' rescue nil end, # focus client below MOD_FOCUS + DOWN_KEY => lambda do - current_view.ctl << 'select down' + current_view.ctl << 'select down' rescue nil end, # focus client above MOD_FOCUS + UP_KEY => lambda do - current_view.ctl << 'select up' + current_view.ctl << 'select up' rescue nil end, # toggle focus between floating area and the columns