Adapt the window buttons to the flyout theme

This doesn't work for custom window commands yet