update rc.lua, change focus/unfocus behavior