Add option to build for embedded environments

This commit is contained in:
Cameron Gutman committed 2021-03-13 15:20:58 -06:00
1 parent d7a150ffa8
commit d6b314f573
10 files changed
+47 -24

No files matched your search

+2 -2
View File
@@ -36,8 +36,8 @@ SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, NvComputer*, int s
m_NumFingersDown(0),
m_ClipboardData()
{
// System keys are always captured when running without a WM
if (!WMUtils::isRunningWindowManager()) {
// System keys are always captured when running without a DE
if (!WMUtils::isRunningDesktopEnvironment()) {
m_CaptureSystemKeysMode = StreamingPreferences::CSK_ALWAYS;
}