mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-24 21:51:35 +00:00
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 bc10fd0aba.
This commit is contained in:
@@ -851,12 +851,10 @@ Flickable {
|
|||||||
id: captureSysKeysCheck
|
id: captureSysKeysCheck
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: qsTr("Capture system keyboard shortcuts ") +
|
text: qsTr("Capture system keyboard shortcuts while streaming in fullscreen")
|
||||||
(!SystemProperties.isRunningWayland ? qsTr("while streaming in fullscreen") :
|
|
||||||
qsTr("(unsupported on Wayland)"))
|
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
enabled: SystemProperties.hasWindowManager && !SystemProperties.isRunningWayland
|
enabled: SystemProperties.hasWindowManager
|
||||||
checked: (StreamingPreferences.captureSysKeys || !SystemProperties.hasWindowManager) && !SystemProperties.isRunningWayland
|
checked: StreamingPreferences.captureSysKeys && SystemProperties.hasWindowManager
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.captureSysKeys = checked
|
StreamingPreferences.captureSysKeys = checked
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user