mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-03 06:44:21 +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)
|
c.icon = image(icon)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not startup then
|
if not startup then
|
||||||
-- Put windows in a smart way, only if they does not set an initial position.
|
-- 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
|
if not c.size_hints.user_position and not c.size_hints.program_position then
|
||||||
awful.placement.no_overlap(c)
|
awful.placement.no_overlap(c)
|
||||||
awful.placement.no_offscreen(c)
|
awful.placement.no_offscreen(c)
|
||||||
end
|
end
|
||||||
|
c:raise()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue