Merge pull request #7 from Shorakie/main

fix: rght borders maximized/fullscreen windows
This commit is contained in:
Kievits Rene
2022-05-12 10:06:41 +02:00
committed by GitHub

View File

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