]> source.dussan.org Git - tigervnc.git/commit
Stop treating "0" as "no timeouts"
authorPierre Ossman <ossman@cendio.se>
Tue, 3 Jan 2023 08:24:51 +0000 (09:24 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 19 Jun 2024 14:39:07 +0000 (16:39 +0200)
commitbf286837db638a67bde0ab9be0baa621f863b8d5
treeab74492ab53922a216b338a1f1f84312439552d4
parent37cf0ffaba7f4e855a909f57adf72da43c0ac275
Stop treating "0" as "no timeouts"

It is much more sane to treat "0" as "a timer is ready NOW", so let's
change to using -1 as the invalid timeout value.
common/rfb/Timer.cxx
common/rfb/util.h
unix/vncconfig/vncconfig.cxx
unix/x0vncserver/x0vncserver.cxx
unix/xserver/hw/vnc/XserverDesktop.cc
vncviewer/vncviewer.cxx
win/rfb_win32/EventManager.cxx
win/rfb_win32/SocketManager.cxx