Commit a6a57dd4 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

xserver: default to -1/-1 for extension/opcode



No need to specify those when waiting for core or extension events that are
not GenericEvents.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent c8288553
......@@ -250,7 +250,7 @@ class XServer : public xorg::testing::Process {
*
* @return Whether an event is available
*/
static bool WaitForEventOfType(::Display *display, int type, int extension, int evtype, time_t timeout = 1000);
static bool WaitForEventOfType(::Display *display, int type, int extension = -1, int evtype = -1, time_t timeout = 1000);
/**
* Install a default XIOErrorHandler. That error handler will throw an
......
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