Skip to content

Commit 380e29e

Browse files
authored
Bump ver to 0.5.1
1 parent 2d9000f commit 380e29e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/consts_enums.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#define CONSTS_H
3737

3838
/* constants */
39-
#define SV_APP_VERSION "0.5.0" //"0.4.16"
39+
#define SV_APP_VERSION "0.5.1" //"0.4.16"
4040

4141
#define SV_CURRENT_YEAR "2023"
4242

src/vnc.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,11 @@ void VncObject::masterMessageLoop ()
681681
// only loop if there are objects alive
682682
if (app->createdObjects != 0)
683683
{
684+
vnc = app->vncViewer->vnc;
685+
686+
if (vnc != NULL && vnc->itm != NULL)
687+
VncObject::checkVNCMessages(vnc);
688+
684689
// keep from making too tight a loop
685690
//Fl::check();
686691
//Fl::wait(0.015);
@@ -690,14 +695,9 @@ void VncObject::masterMessageLoop ()
690695
// with a faster rate
691696
Fl::wait(0.034);
692697

693-
vnc = app->vncViewer->vnc;
694-
695-
if (vnc != NULL && vnc->itm != NULL)
696-
VncObject::checkVNCMessages(vnc);
697-
698-
// checking messages of connected but non-visible
699-
// items has been removed -- wasn't working
700-
// the way I intended all this time. Whoops!
698+
// ## checking messages of connected but non-visible ##
699+
// ## items has been removed -- wasn't working ##
700+
// ## the way I intended all this time. Whoops! ##
701701
}
702702
else
703703
Fl::wait(0.7);

0 commit comments

Comments
 (0)