summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vwm.c b/src/vwm.c
index a06e85b..449106c 100644
--- a/src/vwm.c
+++ b/src/vwm.c
@@ -335,13 +335,13 @@ int main(int argc, char *argv[])
while (!vwm->done) {
do {
- int delay;
+ int delay_us;
- if (vwm_charts_update(vwm->charts, &delay))
+ if (vwm_charts_update(vwm->charts, &delay_us))
vwm_composite_repaint_needed(vwm);
if (!XPending(VWM_XDISPLAY(vwm))) {
- if (poll(&pfd, 1, delay) == 0)
+ if (poll(&pfd, 1, delay_us) == 0)
break;
}
© All Rights Reserved