aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-29 06:18:04 +0000
committermarha <marha@users.sourceforge.net>2009-09-29 06:18:04 +0000
commite7f0aebdfc458b3305aebf6a15bc6a3e3911a8e0 (patch)
treed8d53c86a26405c31acb2f32e8eadaa5075b9079 /xorg-server/hw/xwin
parent878d90113faa1438ffb3b484b292c24acaeb64da (diff)
downloadvcxsrv-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')
-rw-r--r--xorg-server/hw/xwin/winclipboardthread.c16
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c15
2 files changed, 25 insertions, 6 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;
}
diff --git a/xorg-server/hw/xwin/winmultiwindowwm.c b/xorg-server/hw/xwin/winmultiwindowwm.c
index ed0f4b0a2..9261244db 100644
--- a/xorg-server/hw/xwin/winmultiwindowwm.c
+++ b/xorg-server/hw/xwin/winmultiwindowwm.c
@@ -1279,7 +1279,18 @@ winMultiWindowWMErrorHandler (Display *pDisplay, XErrorEvent *pErr)
pErr->error_code,
pszErrorMsg,
sizeof (pszErrorMsg));
- ErrorF ("winMultiWindowWMErrorHandler - ERROR: %s\n", pszErrorMsg);
+ ErrorF ("winMultiWindowWMErrorHandler - ERROR: %s\n"
+ " 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;
}
@@ -1319,11 +1330,13 @@ winMultiWindowXMsgProcErrorHandler (Display *pDisplay, XErrorEvent *pErr)
sizeof (pszErrorMsg));
ErrorF ("winMultiWindowXMsgProcErrorHandler - ERROR: %s\n"
" 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);