diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-11-18 16:23:21 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-11-27 11:15:19 +0100 |
commit | 5102fa96876907adca3d0897d67108c60a2545b0 (patch) | |
tree | 57ee64df2556e08cd7d725b9ad61e0215bfd14ae /vncviewer/CConn.cxx | |
parent | 0560465250d352f21e85c94d80110502b1686a6d (diff) | |
download | tigervnc-5102fa96876907adca3d0897d67108c60a2545b0.tar.gz tigervnc-5102fa96876907adca3d0897d67108c60a2545b0.zip |
Consolidate how to run the FLTK loop in one place
Diffstat (limited to 'vncviewer/CConn.cxx')
-rw-r--r-- | vncviewer/CConn.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vncviewer/CConn.cxx b/vncviewer/CConn.cxx index 78eadb54..fb136b5f 100644 --- a/vncviewer/CConn.cxx +++ b/vncviewer/CConn.cxx @@ -228,13 +228,7 @@ const char *CConn::connectionInfo() void CConn::blockCallback() { - int next_timer; - - next_timer = Timer::checkTimeouts(); - if (next_timer == 0) - next_timer = INT_MAX; - - Fl::wait((double)next_timer / 1000.0); + run_mainloop(); if (should_exit()) throw rdr::Exception("Termination requested"); |