Signed-off-by: Pierre Habouzit <madcoder@debian.org>
require("vicious")
require("beautiful")
-terminal = "x-terminal-emulator"
+terminal = "urxvtcd"
lock = 'xscreensaver-command -lock'
beautiful.init(awful.util.getdir("config").."/theme")
-- {{{ Signals
function warp_mouse(c)
- local o = awful.mouse.client_under_pointer()
- if not o or o ~= c then
+ local o = mouse.object_under_pointer()
+ if not o or (o ~= c and type(o) == "client") then
local g = c:geometry()
mouse.coords({ x = g.x + 5, y = g.y + 5 }, true)
end