Server-side decorations
When the window manager, not the application, draws the title bar, borders and close button around a window.
On X11 this was simply how things worked. The window manager catches new windows through reparenting, tucks them into a frame of its own and draws the title bar there. The application barely knows the frame exists, which is why a 1992 Motif program and yesterday's GTK app get identical buttons under the same window manager. A window can ask to go frameless via _MOTIF_WM_HINTS, but the window manager has the final say.
Wayland inherited the question without an answer. The xdg-decoration protocol (2018) lets client and compositor negotiate, and KWin and wlroots-based compositors happily draw the frame themselves. GNOME's Mutter refuses and insists on client-side decorations, so the same program can look different depending on who won the negotiation.