summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xloadbars.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/loadbars.pl b/loadbars.pl
index fb782d9..460dea1 100755
--- a/loadbars.pl
+++ b/loadbars.pl
@@ -394,11 +394,6 @@ sub graph_stats ($) {
$x += $width + 1;
}
- if ($recv_msg) {
- draw_background $app, $rects;
- $recv_msg = 0;
- }
-
TIMEKEEPER:
$t2 = Time::HiRes::time();
@@ -408,6 +403,11 @@ TIMEKEEPER:
}
$t1 = $t2;
+
+ if ($recv_msg) {
+ draw_background $app, $rects;
+ $recv_msg = 0;
+ }
};
return undef;