From c37020e54457d8c6886773197ab19415f7e0fe9c Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 25 Jul 2012 21:14:06 +0200 Subject: [PATCH] signals: mouse follows focus even on different screen --- rc/signals.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/signals.lua b/rc/signals.lua index 414a08b..0e43ea9 100644 --- a/rc/signals.lua +++ b/rc/signals.lua @@ -40,7 +40,7 @@ client.add_signal("focus", function(c) -- Move the mouse to the top left corner local margin = 10 - if c.screen == mouse.screen and not focus_from_mouse then + if not focus_from_mouse then local cc = c:geometry() local _, x, y = awful.mouse.client.corner(nil, "top_left") if x and y and cc.width > margin * 2 and cc.height > margin * 2 then