From 759ab9f5a822c98b55be255317e2ef7a2b58fd08 Mon Sep 17 00:00:00 2001 From: matt Date: Tue, 27 Aug 2024 13:56:14 +0000 Subject: [PATCH] KASM-5985 disable seamless clip for firefox on secondary screen --- app/ui_screen.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/ui_screen.js b/app/ui_screen.js index 873e3d48..af1a876d 100644 --- a/app/ui_screen.js +++ b/app/ui_screen.js @@ -187,7 +187,11 @@ const UI = { UI.rfb.antiAliasing = UI.getSetting('anti_aliasing'); UI.rfb.clipboardUp = UI.getSetting('clipboard_up', true, true); UI.rfb.clipboardDown = UI.getSetting('clipboard_down', true, true); - UI.rfb.clipboardSeamless = UI.getSetting('clipboard_seamless', true, true); + let seamlessClip = UI.getSetting('clipboard_seamless', true, true); + if (isFirefox() || isSafari()) { + seamlessClip = false; + } + UI.rfb.clipboardSeamless = seamlessClip UI.rfb.keyboard.enableIME = UI.getSetting('enable_ime', true, false); UI.rfb.clipboardBinary = supportsBinaryClipboard() && UI.rfb.clipboardSeamless; UI.rfb.enableWebRTC = UI.getSetting('enable_webrtc', true, false);