mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-02 22:34:20 +02:00
signals: raise newly created windows
This commit is contained in:
parent
c4312820ab
commit
b601e48d6a
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue