Why does this code fail?
client.connect_signal("manage", function (c)
if not c.maximized then
c.shape = gears.shape.rounded_rect
end
end)
client.connect_signal("property::maximized", function (c)
c.shape = gears.shape.rectangle
end)
It also fails when setting rounded corners in a callback for rule = { }