mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-05-11 17:35:57 +08:00
Restore ontop after disabling fullscreen on mpv
This commit is contained in:
parent
e67efa8b27
commit
2af3fa1d20
1 changed files with 8 additions and 0 deletions
|
|
@ -749,6 +749,14 @@ awful.rules.rules = {
|
|||
margins = { bottom = beautiful.useless_gap * 2, right = beautiful.useless_gap * 2}
|
||||
})
|
||||
end
|
||||
|
||||
-- Restore `ontop` after fullscreen is disabled
|
||||
-- Sorta tries to fix: https://github.com/awesomeWM/awesome/issues/667
|
||||
c:connect_signal("property::fullscreen", function ()
|
||||
if not c.fullscreen then
|
||||
c.ontop = true
|
||||
end
|
||||
end)
|
||||
end
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue