Hide game window buttons

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Afely

I’ve seen games made with other engines that hide the close, maximize and minimize buttons in the top right without completely removing the window border. Is there any way to reproduce this in Godot?
Edit: For clarification, I’ve only seen this done for windows, and I don’t plan on porting my game to mac or linux anyways.

May I ask why you want to hide the window buttons but keep the border?

Skyfrit | 2020-12-13 09:00

:bust_in_silhouette: Reply From: mdubaisi

if you go to (project settings/display/window/Size) check borderless, it should work.

I know about this option, but I’ve already said before I want to remove the buttons without completely removing the window border.

Afely | 2020-12-13 08:27

well I don’t think there’s another solution

mdubaisi | 2020-12-13 10:40

The OS generally doesn’t let you keep window borders while removing all buttons. If you want to do something like that, you have to remove the window borders and implement your own. Doing so is sometimes called a “client-side decoration”.

Calinou | 2020-12-13 14:20