From 180e9c126a97be9b8a1cb5626c48d7d9ab166923 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 29 Sep 2024 12:57:55 -0700 Subject: vwm: s/delay/delay_us/ More clarification of delay/timeout units in naming. --- src/vwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/vwm.c') 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; } -- cgit v1.2.3