Disable the system keyboard capture option on Wayland
This commit is contained in:
parent
76b4922bbe
commit
bc10fd0aba
1 changed files with 5 additions and 3 deletions
|
|
@ -841,10 +841,12 @@ Flickable {
|
||||||
id: captureSysKeysCheck
|
id: captureSysKeysCheck
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
width: parent.width
|
width: parent.width
|
||||||
text: qsTr("Capture system keyboard shortcuts while streaming in fullscreen mode")
|
text: qsTr("Capture system keyboard shortcuts ") +
|
||||||
|
(!SystemProperties.isRunningWayland ? qsTr("while streaming in fullscreen mode") :
|
||||||
|
qsTr("(unsupported on Wayland)"))
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
enabled: SystemProperties.hasWindowManager
|
enabled: SystemProperties.hasWindowManager && !SystemProperties.isRunningWayland
|
||||||
checked: StreamingPreferences.captureSysKeys && SystemProperties.hasWindowManager
|
checked: (StreamingPreferences.captureSysKeys || !SystemProperties.hasWindowManager) && !SystemProperties.isRunningWayland
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.captureSysKeys = checked
|
StreamingPreferences.captureSysKeys = checked
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue