mouse: make mouse go further in the windows for Emacs

Otherwise, the mouse will go over the ERC top bar and I will have an
annoying tooltip.
This commit is contained in:
Vincent Bernat 2014-01-03 22:13:49 +01:00
parent a8f3809a85
commit c432aee85f

View file

@ -5,7 +5,7 @@ local focus_from_mouse = false
local function mouse_follow_focus(c) local function mouse_follow_focus(c)
-- Move the mouse to the top left corner -- Move the mouse to the top left corner
local margin = function() local margin = function()
if c.class == "Chromium" then return 30 if c.class == "Chromium" or c.class == "Emacs" then return 30
else return 10 else return 10
end end
end end