aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-09-06 14:47:28 +0200
committerPierre Ossman <ossman@cendio.se>2019-09-06 14:47:28 +0200
commitd06906db59a6aa6434a5dd602b8d3c987d291ca8 (patch)
tree5f970973c72327cda8f9b1668a8f148cd0c08940
parentae5d92e1a9bf39692095cb54ec7637fc68781408 (diff)
downloadtigervnc-d06906db59a6aa6434a5dd602b8d3c987d291ca8.tar.gz
tigervnc-d06906db59a6aa6434a5dd602b8d3c987d291ca8.zip
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.
-rw-r--r--win/rfb_win32/SDisplay.cxx2
1 files changed, 1 insertions, 1 deletions
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",