mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 03:58:51 +02:00
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:
parent
a8f3809a85
commit
c432aee85f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue