summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2021-02-18 16:53:30 -0500
committertrilene <trilene@runbox.com>2021-02-18 16:53:30 -0500
commit3b26cf4ba37c0944a6a297968d40da309be82b69 (patch)
tree5b2a20f06d84c93e4468dd8897a5ff7953301615 /resources
parentSupport desktop screen sharing on X11 (diff)
downloadnheko-3b26cf4ba37c0944a6a297968d40da309be82b69.tar.xz
Screen sharing (X11): add hide mouse cursor option
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/voip/ScreenShare.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/qml/voip/ScreenShare.qml b/resources/qml/voip/ScreenShare.qml

index b21a26fd..331e1c11 100644 --- a/resources/qml/voip/ScreenShare.qml +++ b/resources/qml/voip/ScreenShare.qml
@@ -14,6 +14,7 @@ Popup { frameRateCombo.currentIndex = frameRateCombo.find(Settings.screenShareFrameRate); remoteVideoCheckBox.checked = Settings.screenShareRemoteVideo; + hideCursorCheckBox.checked = Settings.screenShareHideCursor; } palette: colors @@ -55,6 +56,15 @@ Popup { ToolTip.visible: hovered } + CheckBox { + id: hideCursorCheckBox + + Layout.alignment: Qt.AlignLeft + Layout.leftMargin: 8 + Layout.rightMargin: 8 + text: qsTr("Hide mouse cursor") + } + RowLayout { Layout.margins: 8 @@ -70,6 +80,7 @@ Popup { Settings.microphone = micCombo.currentText; Settings.screenShareFrameRate = frameRateCombo.currentText; Settings.screenShareRemoteVideo = remoteVideoCheckBox.checked; + Settings.screenShareHideCursor = hideCursorCheckBox.checked; CallManager.sendInvite(TimelineManager.timeline.roomId(), CallType.SCREEN); close(); }