]> source.dussan.org Git - tigervnc.git/commit
Slow down fake clock when no clients 1769/head
authorPierre Ossman <ossman@cendio.se>
Mon, 19 Feb 2024 14:28:12 +0000 (15:28 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 19 Jun 2024 14:39:07 +0000 (16:39 +0200)
commit28c3f121613807df6d53dde9ac653916dcf8902d
tree6b343dada0e41fbdb4ef22d3b8fda361881a029d
parent5242bfb39648855acd928b186b7c7b6b1f84313c
Slow down fake clock when no clients

Run the frame clock at a slow 1 Hz if there are no clients connected.
This is similar to what a normal X server does when the screen is
blanked, and should keep applications waiting for the frame tick happy.

Note that we still only keep the frame clock running if there is any
application that are interested in it. Otherwise we still stop it
completely.
common/rfb/VNCServerST.cxx