PrismLauncher/launcher
Blake Batson b2d7211254 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>
(cherry picked from commit e0c2fbbcde)
2025-12-26 10:10:51 +00:00
..
archive Use multibyte encoding aware libarchive functions when dealing with filenames (#4457) 2025-12-15 08:09:25 -05:00
console feat(ansi-console): Format console with ansi excapes 2025-04-18 00:39:19 -07:00
filelink feat(ansi-console): Format console with ansi excapes 2025-04-18 00:39:19 -07:00
icons fix: icon import with dot in name 2025-06-28 23:34:13 +03:00
java move more zip parsings 2025-11-26 18:40:40 +02:00
launch refactor(MessageLevel): move and rename 'FromLine*' functions 2025-12-11 09:59:33 -07:00
logs chore: Re-simplify IndexVersionType and MessageLevel with c++20 2025-12-11 09:59:33 -07:00
macsandbox Pick out additional fixes, functionality to SecurityBookmarkFileAccess 2025-11-09 14:43:57 -05:00
meta Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
minecraft Force disable xrandr if it is unavailable 2025-12-26 10:10:51 +00:00
modplatform fix Pre-release filter 2025-12-22 21:45:48 +00:00
net Remove some redundant default values 2025-11-09 22:21:46 +00:00
news Remove unnecessary QObject:: 2025-06-05 21:41:06 +08:00
resources fix: declare the flame icon like the others in multimc.qrc 2025-11-09 10:43:36 +01:00
screenshots feat: add sink fail reason and correctly propagate it through the NetRequest 2025-05-10 12:16:10 +03:00
settings Use security-scoped bookmarks to keep track of data directory settings on macOS 2025-11-09 14:43:55 -05:00
tasks Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
tools Remove usage of SIGNAL/SLOT macro 2025-06-05 21:35:19 +08:00
translations Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
ui fix mod update remaining disabled on second open 2025-12-23 22:10:44 +00:00
updater revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
Application.cpp revert: "fix(launcher): set correct bin path for self-contained appimages" 2025-12-20 17:48:36 +01:00
Application.h Replace getThemedIcon with APPLICATION->logo() 2025-09-19 00:07:05 +01:00
ApplicationMessage.cpp
ApplicationMessage.h
BaseInstaller.cpp
BaseInstaller.h
BaseInstance.cpp Remove some duplicate code 2025-06-05 16:15:29 +08:00
BaseInstance.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
BaseVersion.h Make BaseVersion const-correct in order to remove const-cast from Meta::Version 2025-09-17 10:30:00 +01:00
BaseVersionList.cpp
BaseVersionList.h
CMakeLists.txt fix(build): handle CMAKE_BUILD_TYPE with generator expressions 2025-12-22 14:50:30 +00:00
Commandline.cpp
Commandline.h
DataMigrationTask.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
DataMigrationTask.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
DefaultVariable.h
DesktopServices.cpp revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
DesktopServices.h revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
Exception.h
ExponentialSeries.h
FastFileIconProvider.cpp
FastFileIconProvider.h
FileIgnoreProxy.cpp fix: file filtering on modpack export 2025-04-29 19:02:35 +03:00
FileIgnoreProxy.h fix: file filtering on modpack export 2025-04-29 19:02:35 +03:00
FileSystem.cpp revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
FileSystem.h revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
Filter.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
GZip.cpp fix: gzip file parsing as a stream 2025-04-19 00:41:24 +03:00
GZip.h fix: gzip file parsing as a stream 2025-04-19 00:41:24 +03:00
InstanceCopyPrefs.cpp
InstanceCopyPrefs.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
InstanceCopyTask.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
InstanceCopyTask.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
InstanceCreationTask.cpp
InstanceCreationTask.h
InstanceDirUpdate.cpp Use CustomMessageBox::selectable 2025-03-31 07:14:09 +08:00
InstanceDirUpdate.h Remove names from header comments 2025-03-27 20:25:30 +08:00
InstanceImportTask.cpp preserve original file extension when importing modpack icon 2025-12-23 20:45:06 +00:00
InstanceImportTask.h improve archive detection 2025-12-11 12:54:49 +02:00
InstanceList.cpp Validate JSON parsing results 2025-06-02 07:36:53 +08:00
InstanceList.h Delete shortcut when deleting instances 2025-06-01 08:13:18 +08:00
InstancePageProvider.h Merge remote-tracking branch 'upstream/develop' into unused-code 2025-09-19 11:06:34 +01:00
InstanceTask.cpp
InstanceTask.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
JavaCommon.cpp Merge remote-tracking branch 'upstream/develop' into rework-settings 2025-05-22 23:04:57 +01:00
JavaCommon.h chore:fixed some codeql warnings 2025-03-24 22:25:35 +02:00
Json.cpp Check specifically for GarbageAtEnd error 2025-12-18 21:51:35 +00:00
Json.h Check specifically for GarbageAtEnd error 2025-12-18 21:51:35 +00:00
KonamiCode.cpp
KonamiCode.h
LaunchController.cpp Apply suggestions from code review 2025-12-06 16:34:59 +05:00
LaunchController.h fix(LaunchController): correctly communicate if asking for offline name was successful 2025-12-06 14:37:39 +05:00
Launcher.in
LoggedProcess.cpp remove qt5compat 2025-11-27 22:37:31 +02:00
LoggedProcess.h Simplify MessageLevel::Enum -> MessageLevel 2025-12-07 13:15:22 +00:00
main.cpp fix: remove locale forcing as unnecessary 2025-12-14 22:43:22 -07:00
MangoHud.cpp Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
MangoHud.h
Markdown.cpp
Markdown.h
MessageLevel.cpp refactor(MessageLevel): move and rename 'FromLine*' functions 2025-12-11 09:59:33 -07:00
MessageLevel.h refactor(MessageLevel): move and rename 'FromLine*' functions 2025-12-11 09:59:33 -07:00
MMCTime.cpp
MMCTime.h
MMCZip.cpp add libarchive as actions dependency 2025-11-26 18:41:22 +02:00
MMCZip.h move more zip parsings 2025-11-26 18:40:40 +02:00
MTPixmapCache.h
NullInstance.h Remove several warnings when building the project 2025-06-02 17:00:13 +08:00
ProblemProvider.h
PSaveFile.h
QObjectPtr.h
qtlogging.ini fix: use after free begone! 2025-04-28 04:49:23 -07:00
QVariantUtils.h
RecursiveFileSystemWatcher.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
RecursiveFileSystemWatcher.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
ResourceDownloadTask.cpp Simplify implementation by removing some unused code 2025-12-09 11:42:17 +00:00
ResourceDownloadTask.h Simplify implementation by removing some unused code 2025-12-09 11:42:17 +00:00
RuntimeContext.h
RWStorage.h
SeparatorPrefixTree.h
StringUtils.cpp chore: make all the regexes static const 2025-04-28 22:37:29 +03:00
StringUtils.h
SysInfo.cpp
SysInfo.h chore: fixe some codeql warnings 2025-06-05 00:34:45 +03:00
Usable.h
Version.cpp chore: make all the regexes static const 2025-04-28 22:37:29 +03:00
Version.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
VersionProxyModel.cpp Replace getThemedIcon with APPLICATION->logo() 2025-09-19 00:07:05 +01:00
VersionProxyModel.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
WatchLock.h