summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-12-18 16:17:53 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-20 09:47:26 +1000
commit51713bc675aac5f257db8b3e87c0226b30b6e173 (patch)
treecd30d40c5db27b521d23b2f2e6c37307027f6507
parent843755154ee49a49f2816fe833007c44be92727a (diff)
xserver: usecs are usecs, not millis
oops. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xserver.cpp b/src/xserver.cpp
index 2aff401..def6a89 100644
--- a/src/xserver.cpp
+++ b/src/xserver.cpp
@@ -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;