mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
dc13bb827d
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/time.cc` so that it can be reused elsewhere without having to consider these pitfalls.
9 lines
104 B
Meson
9 lines
104 B
Meson
wlr_files += files(
|
|
'array.c',
|
|
'global.c',
|
|
'log.c',
|
|
'region.c',
|
|
'shm.c',
|
|
'signal.c',
|
|
'time.c',
|
|
)
|