|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* Copyright Massachusetts Institute of Technology 1985 */ ! 4: ! 5: /* ! 6: * XError - non-fatal error reporting routine. Called when an ! 7: * X_Error packet is encountered in the input stream. ! 8: * ! 9: * File: XError.c ! 10: */ ! 11: ! 12: #ifndef lint ! 13: static char *rcsid_XError_c = "$Header: XError.c,v 10.3 86/02/01 16:10:25 tony Rel $"; ! 14: #endif ! 15: ! 16: #include "xwm.h" ! 17: ! 18: XError(dpy, rep) ! 19: Display *dpy; ! 20: XErrorEvent *rep; ! 21: { ! 22: if (!Debug) return; ! 23: fprintf(stderr, "\n"); ! 24: fprintf(stderr, "xwm: X error occured during an xwm operation.\n"); ! 25: fprintf(stderr, " Description: '%s'\n", XErrDescrip(rep->error_code)); ! 26: fprintf(stderr, " Request code: %d\n", rep->request_code); ! 27: fprintf(stderr, " Request function: %d\n", rep->func); ! 28: fprintf(stderr, " Request window 0x%x\n", rep->window); ! 29: fprintf(stderr, " Error Serial #%d\n", rep->serial); ! 30: fprintf(stderr, " Current serial #%d\n", dpy->request); ! 31: fprintf(stderr, "\n"); ! 32: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.