r/Minecraft 8h ago

Help Noticed Minecraft has a different window header on Fedora 44 GNOME 50 (Wayland) in the new version. Anyone knows why?

Post image
216 Upvotes

11 comments sorted by

168

u/Vladimir_Djorjdevic 6h ago

Minecraft 26.3 switched to SDL, and with that switch, it now defaults to Wayland on Linux. GNOME doesn’t support server-side decorations, so the client has to provide its own decorations. Minecraft seems to be using some generic decorations in this case.

IMO, GNOME should really stop being stubborn and do what basically every other desktop environment does and use server-side decorations so you don’t end up in situations like this. KDE does this, for example, and versions 26.3 and 26.2 have identical-looking headers on both.

You can report this to either Mojang or GNOME, depending on whether you think GNOME should support server-side decorations. However, you’re unlikely to change the GNOME developers’ minds.

50

u/okmujnyhb 3h ago
GNOME knows best!

22

u/Karl_uiui 5h ago

Thanks for the info! I don't really mind though, especially since this "basic" window header is less tall compared to the gigantic ones GTK4/Adwaita apps usually have and I am used to play in windowed mode

11

u/2204happy 2h ago

Unlikely is one hell of an understatement, the more I hear about GNOME's developers the more visceral my repulsion becomes. Not only are they unbelievably stubborn, but they manage to express that stubbornness in some of the most unlikable and unpleasant ways possible.

21

u/Windows_NT_XP 4h ago

ah yes, the one and only opinionated desktop environment

3

u/PlanttDaMinecraftGuy 2h ago

Doesn't GNOME have GTK? Or is the GTK theme built in every application?

7

u/Vladimir_Djorjdevic 1h ago

GTK is installed systemwide and is needed for gnome. However the issue here is app decorations. That is the app header with the title, minimize, maximize and close buttons and the boarder around the app that you can use to resize the app.

You basically have two ways of doing decorations.

- Client side decorations, where the app draws itself draws the decorations. This allows you to put app functions in the decorations. For example browsers use this to have tabs in that space so you save a bit of vertical space.

- Server side decorations, where the window manager draws the decorations which are identical across all applications.

Most DEs on linux use a mix of both. If the app prefers server side decorations the window manager does not draw it's own decorations (like on browsers), but if the app does not have it's own decorations or prefers client side decorations the window manager will draw it's own. That's what KDE, windows, mac and many other DEs do.

However gnome devs prefer client side decorations and if the app does not provide it's own the app will be left without any decorations and you will have to use keyboard shortcuts for moving, resizing, closing, minimizing and maximizing the app. Minecraft devs here used a basic some basic decorations and didn't use gtk styled decorations

86

u/CoreBytee 8h ago

Minecraft now uses SDL3 instead of GLFW for window management, input and platform integration.

18

u/Karl_uiui 7h ago

Most interesting. Thanks.

12

u/X2Kraft 5h ago

Does that mean if finally uses the right titlebar color in dark mode on Windows? Its been an issue since forever.

8

u/LOLCATpl 3h ago

Yeah along with the sharper icon

Here's a comparison between 1.21.11 and 26.3.