The "outside" rounded corners are set by the compositor, but as you can see while xborders is adding the inside rouded corners to the terminal, it is not doing the same to spotify (nor for the terminal when it is not focused, but I can live with that)