diff --git a/awesomerc.lua.in b/awesomerc.lua.in index ebf30703..92fa6eec 100644 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -416,21 +416,6 @@ awful.hooks.arrange.register(function (screen) local c = awful.client.focus.history.get(screen, 0) if c then client.focus = c end end - - -- Uncomment if you want mouse warping - --[[ - if client.focus then - local c_c = client.focus:geometry() - local m_c = mouse.coords() - - if m_c.x < c_c.x or m_c.x >= c_c.x + c_c.width or - m_c.y < c_c.y or m_c.y >= c_c.y + c_c.height then - if table.maxn(m_c.buttons) == 0 then - mouse.coords({ x = c_c.x + 5, y = c_c.y + 5}) - end - end - end - ]] end) -- Hook called every second