PrismLauncher/launcher/minecraft
Blake Batson e0c2fbbcde Force disable xrandr if it is unavailable
lwjgl2 optionally requires the xrandr command line utility on linux, but
does not check if the executable actually exists before trying to use
it. We can force it to fall back to the xf86videomode implementation
by checking for the executable ourselves, and force disabling xrandr
with this boolean [1] if it does not exist.

Link: 2df01dd762/src/java/org/lwjgl/opengl/LinuxDisplay.java (L214) [1]
Signed-off-by: Blake Batson <bbatson101@gmail.com>
2025-12-25 14:09:50 -05:00
..
auth fix accounts crash 2025-12-20 23:23:27 +02:00
launch fix partial java download 2025-12-12 09:34:54 +02:00
mod match disabled mods on uninstall 2025-12-20 23:54:31 +02:00
skins Update launcher/minecraft/skins/SkinModel.cpp 2025-12-22 18:22:32 +02:00
update Fix typo in status message for asset files 2025-09-20 16:39:53 -04:00
Agent.h Replace typedef with using 2023-10-24 01:36:27 -07:00
AssetsUtils.cpp resolve problems 2025-06-17 00:25:34 +08:00
AssetsUtils.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
Component.cpp chore: fixe some codeql warnings 2025-06-05 00:34:45 +03:00
Component.h chore: fixe some codeql warnings 2025-06-05 00:34:45 +03:00
ComponentUpdateTask.cpp Improve the message when component metadata fails to download 2025-06-17 00:43:03 +01:00
ComponentUpdateTask.h remove task parent from constuctor 2024-11-01 00:11:45 +02:00
ComponentUpdateTask_p.h Improve the message when component metadata fails to download 2025-06-17 00:43:03 +01:00
GradleSpecifier.h chore: make all the regexes static const 2025-04-28 22:37:29 +03:00
LaunchProfile.cpp Fix launch when no java is loaded 2024-09-08 09:10:29 +03:00
LaunchProfile.h preparing java autodownload 2024-02-03 00:11:05 +02:00
Library.cpp Simplify Rule 2025-08-04 15:36:11 +01:00
Library.h Simplify Rule 2025-08-04 15:36:11 +01:00
Logging.cpp add better profile logging properly resolve important dependencies 2024-06-29 20:34:08 -07:00
Logging.h add better profile logging properly resolve important dependencies 2024-06-29 20:34:08 -07:00
MinecraftInstance.cpp Force disable xrandr if it is unavailable 2025-12-25 14:09:50 -05:00
MinecraftInstance.h Expand variables in JVM args 2025-12-05 10:47:11 +00:00
MinecraftLoadAndCheck.cpp propagate load component error 2024-12-31 13:44:22 +02:00
MinecraftLoadAndCheck.h remove task parent from constuctor 2024-11-01 00:11:45 +02:00
MojangDownloadInfo.h Replace typedef with using 2023-10-24 01:36:27 -07:00
MojangVersionFormat.cpp Simplify Rule 2025-08-04 15:36:11 +01:00
MojangVersionFormat.h
OneSixVersionFormat.cpp Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
OneSixVersionFormat.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
PackProfile.cpp Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
PackProfile.h propagate load component error 2024-12-31 13:44:22 +02:00
PackProfile_p.h fix misepellings 2024-06-29 20:34:08 -07:00
ParseUtils.cpp
ParseUtils.h
ProfileUtils.cpp chore: make all the regexes static const 2025-04-28 22:37:29 +03:00
ProfileUtils.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
Rule.cpp Fix crash in Rule::apply 2025-09-19 00:25:26 +01:00
Rule.h Reintroduce some encapulation 2025-08-04 15:43:05 +01:00
ShortcutUtils.cpp Replace getThemedIcon with APPLICATION->logo() 2025-09-19 00:07:05 +01:00
ShortcutUtils.h Delete shortcut when deleting instances 2025-06-01 08:13:18 +08:00
VanillaInstanceCreationTask.cpp
VanillaInstanceCreationTask.h
VersionFile.cpp preparing java autodownload 2024-02-03 00:11:05 +02:00
VersionFile.h Recommend java major 2024-07-23 01:41:41 +03:00
VersionFilterData.cpp
VersionFilterData.h
World.cpp Improve mod parsing 2025-11-26 18:41:22 +02:00
World.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
WorldList.cpp Avoid const-cast in WorldList - subclass is unnecessary and result->formats() is correct 2025-09-17 10:50:54 +01:00
WorldList.h Remove button additions 2025-05-19 01:34:18 +08:00