Merge branch 'master' of https://github.com/mut-ex/awesome-wm-nice into master

This commit is contained in:
mut-ex 2020-09-03 23:34:54 -04:00
commit ddcaf018d9
1 changed files with 5 additions and 5 deletions

View File

@ -800,14 +800,14 @@ function _private.add_window_decorations(c)
c:connect_signal(
"property::maximized", function()
if c.maximized then
local curr_screen_geo = client.focus.screen.geometry
local curr_screen_workarea = client.focus.screen.workarea
awful.titlebar.hide(c)
c.shape = nil
c:geometry{
x = 0,
y = 0,
width = curr_screen_geo.width,
height = curr_screen_geo.height,
x = curr_screen_workarea.x,
y = curr_screen_workarea.y,
width = curr_screen_workarea.width,
height = curr_screen_workarea.height,
}
else
awful.titlebar.show(c)