@@ -275,6 +275,9 @@ public abstract class LwjglWindow extends LwjglContext implements Runnable {
);
if (glfwPlatformSupported(GLFW_PLATFORM_WAYLAND)) {
+
+ // Disables the libdecor bar when creating a fullscreen context
+ // https://www.glfw.org/docs/latest/intro_guide.html#init_hints_wayland
glfwInitHint(GLFW_WAYLAND_LIBDECOR, settings.isFullscreen() ? GLFW_WAYLAND_DISABLE_LIBDECOR : GLFW_WAYLAND_PREFER_LIBDECOR);
}