Add workaround for broken Qt EGLFS card selection logic
This commit is contained in:
parent
f8c5d3c0ce
commit
011feab6ce
3 changed files with 67 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue