Skip to content

Commit

Permalink
Add Force X11 option
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Feb 16, 2025
1 parent c124b42 commit b2cf41f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ project(':cleanroom') {

dependencies {
compileOnly "com.cleanroommc:lwjglx:1.0.0"
installer "com.cleanroommc:lwjglxx:1.0.12"
installer "com.cleanroommc:lwjglxx:1.0.13"
lwjglLibraries[0].each {
installer "org.lwjgl:$it:$props.lwjgl_version"
runtimeOnly "org.lwjgl:$it::$lwjglArch"
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/minecraftforge/common/ForgeEarlyConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ public class ForgeEarlyConfig {
public static boolean WINDOW_START_FOCUSED = true;
public static boolean WINDOW_START_ICONIFIED = false;

@Config.Comment("Enable this when the game has problem running on Wayland")
public static boolean FORCE_X11 = false;

public static boolean WINDOW_CENTERED = true;

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

0 comments on commit b2cf41f

Please sign in to comment.