Commit 74ee351f authored by Peter Hutterer's avatar Peter Hutterer
Browse files

xserver: improve error code reporting


Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 1c539b3b
......@@ -416,7 +416,7 @@ static int _x_error_handler(Display *dpy, XErrorEvent *err)
case BadLength: error << "BadLength"; break;
case BadImplementation: error << "BadImplementation"; break;
default:
error << err->error_code;
error << "code: " << err->error_code;
break;
}
......
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