You're incorrect: there might be some decoration provided by the app, but there's a layer outside of that which is configured by the window manager. That's the title bar, and the little icons by which you maximize/ minimize/ "Iconify"... do people still do that?..
Plus thumbs at the corners, for some displays.