mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-22 11:12:31 +00:00
Compare commits
No commits in common. "a30cc39f113abcf14d7b31b92b2ce927e90014c4" and "80588112e140021c64f95031ef55bc44c1097cea" have entirely different histories.
a30cc39f11
...
80588112e1
|
@ -811,21 +811,4 @@ end)
|
|||
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||
|
||||
-- switch to parent after closing child window
|
||||
local function backham()
|
||||
local s = awful.screen.focused()
|
||||
local c = awful.client.focus.history.get(s, 0)
|
||||
if c then
|
||||
client.focus = c
|
||||
c:raise()
|
||||
end
|
||||
end
|
||||
|
||||
-- attach to minimized state
|
||||
client.connect_signal("property::minimized", backham)
|
||||
-- attach to closed state
|
||||
client.connect_signal("unmanage", backham)
|
||||
-- ensure there is always a selected client during tag switching or logins
|
||||
tag.connect_signal("property::selected", backham)
|
||||
|
||||
-- }}}
|
||||
|
|
Loading…
Reference in a new issue