Add workaround for broken Qt EGLFS card selection logic

This commit is contained in:
Cameron Gutman committed 2024-04-06 14:35:34 -05:00
1 parent f8c5d3c0ce
commit 011feab6ce
3 files changed
+67 -1

No files matched your search

+3
View File
@@ -1,5 +1,7 @@
#pragma once
#include <QString>
#define THROW_BAD_ALLOC_IF_NULL(x) \
if ((x) == nullptr) throw std::bad_alloc()
@@ -8,4 +10,5 @@ namespace WMUtils {
bool isRunningWayland();
bool isRunningWindowManager();
bool isRunningDesktopEnvironment();
QString getDrmCardOverride();
}