diff --git a/rc.lua.evancolor b/rc.lua.evancolor index b82b8fd..a37ea08 100644 --- a/rc.lua.evancolor +++ b/rc.lua.evancolor @@ -674,6 +674,9 @@ awful.rules.rules = { -- signal function to execute when a new client appears. local sloppyfocus_last = {c=nil} client.connect_signal("manage", function (c, startup) + local tag = awful.tag.gettags(mouse.screen)[awful.tag.getidx(c:tags()[1])] + awful.client.movetoscreen(c, mouse.screen) + awful.client.movetotag(tag, c) -- Enable sloppy focus client.connect_signal("mouse::enter", function(c) if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier