wmiirc-rumai

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

commit 1dcd6d7ddda9f796d65954aadb1c30675134140b
parent de123c21ef2cdbf1e3b0afc17ab647e7c1286b99
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date:   Thu,  1 Mar 2007 13:57:22 -0800

fix 'bad value' errors when sliding focus around in floating area

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

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