Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

refactor

rustdesk49f848a45343
diff --git a/src/ui/index.tis b/src/ui/index.tis
index 8954ad8d8..d76cae583 100644
--- a/src/ui/index.tis
+++ b/src/ui/index.tis
@@ -1208,7 +1208,7 @@ function self.onMouse(evt) {
}
function check_if_overlay() {
- if (!handler.get_option('allow-remote-config-modification') == 'Y') {
+ if (handler.get_option('allow-remote-config-modification') != 'Y') {
var time0 = getTime();
handler.check_mouse_time();
self.timer(120ms, function() {