mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Only enable the absolute mouse checkbox if the platform has a window manager
This commit is contained in:
@@ -583,7 +583,8 @@ Flickable {
|
|||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
text: "Optimize mouse for remote desktop instead of games"
|
text: "Optimize mouse for remote desktop instead of games"
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
checked: StreamingPreferences.absoluteMouseMode
|
enabled: SystemProperties.hasWindowManager
|
||||||
|
checked: StreamingPreferences.absoluteMouseMode && SystemProperties.hasWindowManager
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
StreamingPreferences.absoluteMouseMode = checked
|
StreamingPreferences.absoluteMouseMode = checked
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user