diff options
author | marha <marha@users.sourceforge.net> | 2009-09-29 06:18:04 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-09-29 06:18:04 +0000 |
commit | e7f0aebdfc458b3305aebf6a15bc6a3e3911a8e0 (patch) | |
tree | d8d53c86a26405c31acb2f32e8eadaa5075b9079 /xorg-server/hw/xwin/winclipboardthread.c | |
parent | 878d90113faa1438ffb3b484b292c24acaeb64da (diff) | |
download | vcxsrv-e7f0aebdfc458b3305aebf6a15bc6a3e3911a8e0.tar.gz vcxsrv-e7f0aebdfc458b3305aebf6a15bc6a3e3911a8e0.tar.bz2 vcxsrv-e7f0aebdfc458b3305aebf6a15bc6a3e3911a8e0.zip |
Print some more information in X error handler.
Diffstat (limited to 'xorg-server/hw/xwin/winclipboardthread.c')
-rw-r--r-- | xorg-server/hw/xwin/winclipboardthread.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/xorg-server/hw/xwin/winclipboardthread.c b/xorg-server/hw/xwin/winclipboardthread.c index f56f50fad..c88f1d7b2 100644 --- a/xorg-server/hw/xwin/winclipboardthread.c +++ b/xorg-server/hw/xwin/winclipboardthread.c @@ -488,11 +488,17 @@ winClipboardErrorHandler (Display *pDisplay, XErrorEvent *pErr) pszErrorMsg,
sizeof (pszErrorMsg));
ErrorF ("winClipboardErrorHandler - ERROR: \n\t%s\n"
- "\tSerial: %d, Request Code: %d, Minor Code: %d\n",
- pszErrorMsg,
- pErr->serial,
- pErr->request_code,
- pErr->minor_code);
+ " errorCode %d\n"
+ " serial %d\n"
+ " resourceID %d\n"
+ " majorCode %d\n"
+ " minorCode %d\n"
+ , pszErrorMsg
+ , pErr->error_code
+ , pErr->serial,
+ , pErr->resourceid
+ , pErr->request_code
+ , pErr->minor_code);
return 0;
}
|