From b601e48d6a6740f701d63af6bf4e0013622e3ced Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 26 Sep 2012 15:05:47 +0200 Subject: [PATCH] signals: raise newly created windows --- rc/signals.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc/signals.lua b/rc/signals.lua index 7fa0158..8f951f1 100644 --- a/rc/signals.lua +++ b/rc/signals.lua @@ -53,13 +53,14 @@ client.add_signal("manage", c.icon = image(icon) end end - + if not startup then -- Put windows in a smart way, only if they does not set an initial position. if not c.size_hints.user_position and not c.size_hints.program_position then awful.placement.no_overlap(c) awful.placement.no_offscreen(c) end + c:raise() end end)