Skip to content

Commit 19cb38d

Browse files
author
wil
committed
debugger
1 parent 84b8a9c commit 19cb38d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,14 @@ public void invoke(final long window, final boolean focus) {
412412
);
413413

414414
int platformId = glfwGetPlatform();
415+
if (settings.isX11PlatformPreferred()) {
416+
if (platformId == GLFW_PLATFORM_X11) {
417+
LOGGER.log(Level.INFO, "Active X11 server for GLX management:\n * Platform: GLFW_PLATFORM_X11|XWayland ({0})", platformId);
418+
} else {
419+
LOGGER.log(Level.WARNING, "Can't change platform to X11 (GLX), check if you have XWayland enabled");
420+
}
421+
}
422+
415423
if (platformId != GLFW_PLATFORM_WAYLAND && !settings.isFullscreen()) {
416424
/*
417425
* in case the window positioning hints above were ignored, but not

0 commit comments

Comments
 (0)