mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
This commit makes `get_current_time_msec` correctly return milliseconds as opposed to microseconds. It also considers the value of `tv_sec`, so we don't lose occasionally go back in time by one second. Finally, the function is moved into `util.c` so that it can be reused elsewhere without having to consider these pitfalls. |
||
|---|---|---|
| .. | ||
| background-image.c | ||
| cairo.c | ||
| ipc-client.c | ||
| list.c | ||
| log.c | ||
| loop.c | ||
| meson.build | ||
| pango.c | ||
| stringop.c | ||
| util.c | ||