Consolidate how to run the FLTK loop in one place
diff --git a/vncviewer/vncviewer.h b/vncviewer/vncviewer.h
index 4d0566b..c98c2e9 100644
--- a/vncviewer/vncviewer.h
+++ b/vncviewer/vncviewer.h
@@ -24,5 +24,6 @@
 void exit_vncviewer(const char *error = NULL);
 bool should_exit();
 void about_vncviewer();
+void run_mainloop();
 
 #endif