aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winmultiwindowwm.c
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/winmultiwindowwm.c
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/winmultiwindowwm.c')
-rw-r--r--xorg-server/hw/xwin/winmultiwindowwm.c15
1 files changed, 14 insertions, 1 deletions
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);