awesomerc: only uses placement when no hints (FS#637)
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
61d2712076
commit
1bf296dfce
|
@ -318,9 +318,11 @@ client.add_signal("manage", function (c, startup)
|
||||||
-- i.e. put it at the end of others instead of setting it master.
|
-- i.e. put it at the end of others instead of setting it master.
|
||||||
-- awful.client.setslave(c)
|
-- awful.client.setslave(c)
|
||||||
|
|
||||||
-- Put windows in a smart way.
|
-- Put windows in a smart way, only if they does not set an initial position.
|
||||||
awful.placement.no_overlap(c)
|
if not c.size_hints.user_position and not c.size_hints.program_position then
|
||||||
awful.placement.no_offscreen(c)
|
awful.placement.no_overlap(c)
|
||||||
|
awful.placement.no_offscreen(c)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue