]> source.dussan.org Git - tigervnc.git/commitdiff
Use display polling by default in WinVNC
authorPierre Ossman <ossman@cendio.se>
Fri, 6 Sep 2019 12:47:28 +0000 (14:47 +0200)
committerPierre Ossman <ossman@cendio.se>
Fri, 6 Sep 2019 12:47:28 +0000 (14:47 +0200)
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

index be33ff159a7d1f735d154340ca1cffb7bf8715fd..06eccd9a21fb750a1fefc20ede0c8c1bb65e4406 100644 (file)
@@ -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",