diff --git a/awesomerc.lua.in b/awesomerc.lua.in index 2d61b31b..ce647de8 100755 --- a/awesomerc.lua.in +++ b/awesomerc.lua.in @@ -383,6 +383,9 @@ client.connect_signal("manage", function (c) awful.placement.no_overlap(c) awful.placement.no_offscreen(c) end + elseif not c.size_hints.user_position and not c.size_hints.program_position then + -- Prevent clients from being unreachable after screen count change + awful.placement.no_offscreen(c) end local titlebars_enabled = false