mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-21 22:57:04 +01:00
Bug fixes for 0.20.3 pre-release 2
This commit is contained in:
1 parent
abde3e0c4e
commit
59eb947539
80 files changed
+1280
-585
No files matched your search
@@ -387,6 +387,10 @@ delayUntilNextTimerEvent(struct timeval *delay)
|
||||
} else {
|
||||
delay->tv_sec = timerHandler->when.tv_sec - now.tv_sec;
|
||||
delay->tv_usec = timerHandler->when.tv_usec - now.tv_usec;
|
||||
if (delay->tv_usec < 0) {
|
||||
delay->tv_usec += 1000000;
|
||||
delay->tv_sec--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user