Re:The Story Behind Fenster
by immibis on Sunday September 08, 2024 @06:41PM
(#41483856)
You might want to use CLOCK_MONOTONIC on POSIX or changing the system time will screw up the refresh rate or freeze the window completely.
[ Parent
| on HN ]
The application can handle it changing
if (ms > 0)
fenster_sleep(ms);
to if (ms > 0 && ms <= 1000/60)
fenster_sleep(ms);