awesomerc: enable smart placement

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-18 11:35:59 +02:00
parent 9c21ce8907
commit 36d9178917
1 changed files with 9 additions and 3 deletions

View File

@ -310,9 +310,15 @@ client.add_signal("manage", function (c, startup)
end
end)
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- awful.client.setslave(c)
if not startup then
-- Set the windows at the slave,
-- i.e. put it at the end of others instead of setting it master.
-- awful.client.setslave(c)
-- Put windows in a smart way.
awful.placement.no_overlap(c)
awful.placement.no_offscreen(c)
end
end)
client.add_signal("focus", function(c) c.border_color = beautiful.border_focus end)