summaryrefslogtreecommitdiff
path: root/loadbars.pl
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2011-01-12 14:47:27 +0000
committerPaul Buetow <paul@buetow.org>2011-01-12 14:47:27 +0000
commitb41e228b9ddc891d9814e9b3b1ba0e275007a122 (patch)
treee832cde7ae07d9296149147c0bf0a1d18c25abdf /loadbars.pl
parentd2886cb66987dbc5eda4fabe47adf98429a0d5be (diff)
draw_background BLACK after timekeeping
Diffstat (limited to 'loadbars.pl')
-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;