From c432aee85fc0fa11425f17977d35477741468ec2 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 3 Jan 2014 22:13:49 +0100 Subject: [PATCH] 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. --- rc/signals.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/signals.lua b/rc/signals.lua index f01b1e4..213ee83 100644 --- a/rc/signals.lua +++ b/rc/signals.lua @@ -5,7 +5,7 @@ local focus_from_mouse = false local function mouse_follow_focus(c) -- Move the mouse to the top left corner local margin = function() - if c.class == "Chromium" then return 30 + if c.class == "Chromium" or c.class == "Emacs" then return 30 else return 10 end end