diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2018-05-05 18:56:35 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-08-27 08:26:59 +0200 |
commit | 17495dd6aedd27fb8a083fc841a7f297e6a8da8f (patch) | |
tree | 28163ffc76609a7fb26c395ce711fa53d552ea62 /nx-X11/programs/Xserver/hw/nxagent/Events.h | |
parent | 1d32e5368ab8d94a100144f741b00f4506e6eeff (diff) | |
download | nx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.tar.gz nx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.tar.bz2 nx-libs-17495dd6aedd27fb8a083fc841a7f297e6a8da8f.zip |
nxagent: simplify nxagentWaitEvents()
no more need to pass down a struct, we now only pass the milliseconds
and let the function do the rest.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Events.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Events.h b/nx-X11/programs/Xserver/hw/nxagent/Events.h index 5df0e1f05..8bc798945 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Events.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Events.h @@ -232,6 +232,6 @@ Bool nxagentPendingEvents(Display *dpy); #define nxagentCheckEvents(display, event, predicate, argument) \ XCheckIfEventNoFlush((display), (event), (predicate), (argument)) -int nxagentWaitEvents(Display *, struct timeval *); +int nxagentWaitEvents(Display *, useconds_t msec); #endif /* __Events_H__ */ |