diff options
author | Keith Packard <keithp@keithp.com> | 2016-05-26 10:30:56 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-07-18 15:27:51 -0400 |
commit | e6636b438322a9a2f2270ad9d60bf3dfc72be0b3 (patch) | |
tree | 60de783adf97d0f009a5edc332a833209a78fbe6 /Xi/xisetdevfocus.c | |
parent | a414db021575accff64abad6f1047245e81c7476 (diff) |
os: Compute timeout in milliseconds instead of struct timeval
The timeout resolution offered in the AdjustWaitForDelay call is
only milliseconds, so passing around the timeout as a pointer to a
struct timeval is not helpful. Doing everything in milliseconds up to
the point of the select call simplifies the code without affecting
functionality at all.
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'Xi/xisetdevfocus.c')
0 files changed, 0 insertions, 0 deletions