From f6de2e4dd3887d3456c6c6854e54adf9ee857a32 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 20 Jan 2021 21:43:16 -0600 Subject: [PATCH] Revert "Disable the system keyboard capture option on Wayland" SDL now supports keyboard grab with https://hg.libsdl.org/SDL/rev/b0e13627c656 This reverts commit bc10fd0abab8aa9d8180747b8aa838b0277c5e81. --- app/gui/SettingsView.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/gui/SettingsView.qml b/app/gui/SettingsView.qml index 5d887bea..f4a6ad59 100644 --- a/app/gui/SettingsView.qml +++ b/app/gui/SettingsView.qml @@ -851,12 +851,10 @@ Flickable { id: captureSysKeysCheck hoverEnabled: true width: parent.width - text: qsTr("Capture system keyboard shortcuts ") + - (!SystemProperties.isRunningWayland ? qsTr("while streaming in fullscreen") : - qsTr("(unsupported on Wayland)")) + text: qsTr("Capture system keyboard shortcuts while streaming in fullscreen") font.pointSize: 12 - enabled: SystemProperties.hasWindowManager && !SystemProperties.isRunningWayland - checked: (StreamingPreferences.captureSysKeys || !SystemProperties.hasWindowManager) && !SystemProperties.isRunningWayland + enabled: SystemProperties.hasWindowManager + checked: StreamingPreferences.captureSysKeys && SystemProperties.hasWindowManager onCheckedChanged: { StreamingPreferences.captureSysKeys = checked }