Default config: Align up a series of conditions (#2215)

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-03-13 03:53:44 +01:00 committed by Emmanuel Lepage Vallée
parent 0a588e099a
commit 3fe913f17a
1 changed files with 2 additions and 2 deletions

View File

@ -533,8 +533,8 @@ client.connect_signal("manage", function (c)
-- i.e. put it at the end of others instead of setting it master.
-- if not awesome.startup then awful.client.setslave(c) end
if awesome.startup and
not c.size_hints.user_position
if awesome.startup
and not c.size_hints.user_position
and not c.size_hints.program_position then
-- Prevent clients from being unreachable after screen count changes.
awful.placement.no_offscreen(c)