Skip to content

Commit b2cf41f

Browse files
Add Force X11 option
1 parent c124b42 commit b2cf41f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ project(':cleanroom') {
417417

418418
dependencies {
419419
compileOnly "com.cleanroommc:lwjglx:1.0.0"
420-
installer "com.cleanroommc:lwjglxx:1.0.12"
420+
installer "com.cleanroommc:lwjglxx:1.0.13"
421421
lwjglLibraries[0].each {
422422
installer "org.lwjgl:$it:$props.lwjgl_version"
423423
runtimeOnly "org.lwjgl:$it::$lwjglArch"

src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ public class ForgeEarlyConfig {
1414
public static boolean WINDOW_START_FOCUSED = true;
1515
public static boolean WINDOW_START_ICONIFIED = false;
1616

17+
@Config.Comment("Enable this when the game has problem running on Wayland")
18+
public static boolean FORCE_X11 = false;
19+
1720
public static boolean WINDOW_CENTERED = true;
1821

1922
@Config.Comment("Should the window have decorations (titlebar, border, close button)")

0 commit comments

Comments
 (0)