wlroots-hyprland/util
Tudor Brindus dc13bb827d util: fix and move `get_current_time_msec` into a util file
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.
2020-06-06 00:09:19 +02:00
..
array.c virtual_keyboard: Accept keycode 0 2019-11-27 16:49:12 +01:00
global.c util: add wlr_output_destroy_safe 2020-02-17 20:52:37 +01:00
log.c util/log: use bright black rather than black for WLR_DEBUG 2020-05-24 14:53:40 +02:00
meson.build util: fix and move `get_current_time_msec` into a util file 2020-06-06 00:09:19 +02:00
region.c Fix output rotation direction 2020-02-17 21:43:05 +01:00
shm.c Use ftruncate to set shared memory object's size 2018-11-09 18:29:19 +01:00
signal.c Make wlr_signal_emit_safe private 2018-02-12 19:52:47 +01:00
time.c util: fix and move `get_current_time_msec` into a util file 2020-06-06 00:09:19 +02:00