Skip to content

Commit cc432ae

Browse files
author
wil
committed
javadoc|libdecor wayland
1 parent 5bb363a commit cc432ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jme3-lwjgl3/src/main/java/com/jme3/system/lwjgl/LwjglWindow.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ public void invoke(int error, long description) {
275275
);
276276

277277
if (glfwPlatformSupported(GLFW_PLATFORM_WAYLAND)) {
278+
279+
// Disables the libdecor bar when creating a fullscreen context
280+
// https://www.glfw.org/docs/latest/intro_guide.html#init_hints_wayland
278281
glfwInitHint(GLFW_WAYLAND_LIBDECOR, settings.isFullscreen() ? GLFW_WAYLAND_DISABLE_LIBDECOR : GLFW_WAYLAND_PREFER_LIBDECOR);
279282
}
280283

0 commit comments

Comments
 (0)