vlm: check status at thread start
commit0dcff2b6c6d8e75fffd9d637feecdfd0e201e1e1
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 9 Feb 2020 11:53:18 +0000 (9 13:53 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 10 Feb 2020 17:56:49 +0000 (10 19:56 +0200)
tree0bba65585953015f45423720f85bd10160ab983d
parentbeaede0c41723acaf6571d08e7777c60a2ec7504
vlm: check status at thread start

The current time (when the thread starts) is saved as the initial check
time, so actually do the check then. This is achieved by swapping the
sleeping loop and the processing loops.
src/input/vlm.c