From 254af5b2609f29059c9919445d6edc0253a4d9b4 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 30 Jul 2012 14:52:10 +0200 Subject: [PATCH] signals: don't move mouse to dialog corners --- rc/signals.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/signals.lua b/rc/signals.lua index 0e43ea9..c8c5368 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 not focus_from_mouse then + if not focus_from_mouse and c.type ~= "dialog" 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