mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2026-03-23 05:55:12 +00:00
fix maximze
This commit is contained in:
parent
ec1ae2cf76
commit
42ea2fbb02
8
rc.lua
8
rc.lua
|
|
@ -875,6 +875,14 @@ client.connect_signal("property::floating", function(c)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
client.connect_signal("property::maximized", function(c)
|
||||||
|
if c.maximized then
|
||||||
|
awful.titlebar.hide(c)
|
||||||
|
elseif c.floating then
|
||||||
|
awful.titlebar.show(c)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
|
||||||
-- Enable sloppy focus, so that focus follows mouse.
|
-- Enable sloppy focus, so that focus follows mouse.
|
||||||
client.connect_signal("mouse::enter", function(c)
|
client.connect_signal("mouse::enter", function(c)
|
||||||
c:emit_signal("request::activate", "mouse_enter", { raise = vi_focus })
|
c:emit_signal("request::activate", "mouse_enter", { raise = vi_focus })
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue