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");
}
Linked issues
relates to 1
Comments 0
No comments.