-
Bug
-
Resolution: Unresolved
-
None
-
1.20.3 Pre-Release 1
-
Linux x86_64, Java Version, Wayland compositor
-
Plausible
-
UI
-
Low
-
Platform
Since LWJGL 3.3.4 you can set the GLFW_WAYLAND_APP_ID. (https://javadoc.lwjgl.org/org/lwjgl/glfw/GLFW.html#GLFW_WAYLAND_APP_ID)
It's a name of desktop file in Linux. Wayland compositor will use it for showing icon. You should simply add this code after GLFW.glfwInit():
if (GLFW.glfwGetPlatform() == GLFW.GLFW_PLATFORM_WAYLAND) { GLFW.glfwWindowHintString(GLFW.GLFW_WAYLAND_APP_ID, "minecraft"); }
- relates to
-
MC-263833 Minecraft is incorrectly assuming it is able to set the window icon on Wayland
- Resolved