From d06906db59a6aa6434a5dd602b8d3c987d291ca8 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 6 Sep 2019 14:47:28 +0200 Subject: [PATCH] Use display polling by default in WinVNC Window hooks aren't working well on modern systems so switch the default to polling until we can fix things. --- win/rfb_win32/SDisplay.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/rfb_win32/SDisplay.cxx b/win/rfb_win32/SDisplay.cxx index be33ff15..06eccd9a 100644 --- a/win/rfb_win32/SDisplay.cxx +++ b/win/rfb_win32/SDisplay.cxx @@ -45,7 +45,7 @@ static LogWriter vlog("SDisplay"); // - SDisplay-specific configuration options IntParameter rfb::win32::SDisplay::updateMethod("UpdateMethod", - "How to discover desktop updates; 0 - Polling, 1 - Application hooking, 2 - Driver hooking.", 1); + "How to discover desktop updates; 0 - Polling, 1 - Application hooking, 2 - Driver hooking.", 0); BoolParameter rfb::win32::SDisplay::disableLocalInputs("DisableLocalInputs", "Disable local keyboard and pointer input while the server is in use", false); StringParameter rfb::win32::SDisplay::disconnectAction("DisconnectAction", -- 2.39.5