Commit 51713bc6 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

xserver: usecs are usecs, not millis



oops.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 84375515
......@@ -108,7 +108,7 @@ bool xorg::testing::XServer::WaitForEvent(::Display *display, time_t timeout)
struct timeval timeval = {
static_cast<time_t>(timeout / 1000),
static_cast<time_t>(timeout % 1000),
static_cast<time_t>(timeout % 1000) * 1000,
};
int ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment