fix: rght borders maximized/fullscreen windows

fixes #6
This commit is contained in:
Amin
2022-05-12 11:22:04 +04:30
committed by GitHub
parent 46d338cbaf
commit 2c036063c3

View File

@@ -24,9 +24,13 @@ client.connect_signal(
awful.placement.no_offscreen(c) awful.placement.no_offscreen(c)
end end
c.shape = function(cr, width, height) c.shape = function(cr, width, height)
if c.fullscreen or c.maximized then
gears.shape.rectangle(cr, width, height)
else
gears.shape.rounded_rect(cr, width, height, 10) gears.shape.rounded_rect(cr, width, height, 10)
end end
end end
end
) )
client.connect_signal( client.connect_signal(