mojira.dev
MC-311860

The Linux dock displays the raw `WM_CLASS` "com.mojang.minecraft" instead of the window title

Since the migration to SDL3 in Minecraft 26.3, Linux docks (GNOME, KDE, etc.) display the raw string "com.mojang.minecraft" instead of a proper name.

By inspecting the window properties (e.g. via xprop), you can see that the game runs via XWayland/X11 and the issue is caused by a change in how the WM_CLASS property is assigned:

  • In 26.2 (GLFW): The X11 WM_CLASS is dynamically set to the window title (e.g. "Minecraft* 26.2"). The dock displays this.

  • In 26.3 (SDL3): SDL3 explicitly forces the WM_CLASS to "com.mojang.minecraft".

Because the launcher does not install a matching com.mojang.minecraft.desktop file on the host system, the Linux desktop environment falls back to displaying the raw WM_CLASS string.

Environment

Linux, X11/XWayland

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media]

Leon Baur

electfall

Confirmed

Platform HC

Important

UI

26.3 Release Candidate 3

Retrieved