mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
signals: raise a recently focused window
When a window gain focus (without the use of the mouse, raise it).
This commit is contained in:
parent
c30c2062ad
commit
8b4aa1d317
1 changed files with 1 additions and 1 deletions
|
@ -69,9 +69,9 @@ client.add_signal("focus", function(c)
|
|||
|
||||
if focus_from_mouse ~= c then
|
||||
mouse_follow_focus(c)
|
||||
c:raise()
|
||||
end
|
||||
focus_from_mouse = false
|
||||
|
||||
end)
|
||||
client.add_signal("unfocus", function(c)
|
||||
c.border_color = beautiful.border_normal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue