@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user