|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T X
Length: 980 (0x3d4)
Types: TextFile
Names: »XError.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z«
└─⟦2109abc41⟧
└─⟦this⟧ »./X.V10R4/xwm/XError.c«
#include <X/mit-copyright.h>
/* Copyright Massachusetts Institute of Technology 1985 */
/*
* XError - non-fatal error reporting routine. Called when an
* X_Error packet is encountered in the input stream.
*
* File: XError.c
*/
#ifndef lint
static char *rcsid_XError_c = "$Header: XError.c,v 10.3 86/02/01 16:10:25 tony Rel $";
#endif
#include "xwm.h"
XError(dpy, rep)
Display *dpy;
XErrorEvent *rep;
{
if (!Debug) return;
fprintf(stderr, "\n");
fprintf(stderr, "xwm: X error occured during an xwm operation.\n");
fprintf(stderr, " Description: '%s'\n", XErrDescrip(rep->error_code));
fprintf(stderr, " Request code: %d\n", rep->request_code);
fprintf(stderr, " Request function: %d\n", rep->func);
fprintf(stderr, " Request window 0x%x\n", rep->window);
fprintf(stderr, " Error Serial #%d\n", rep->serial);
fprintf(stderr, " Current serial #%d\n", dpy->request);
fprintf(stderr, "\n");
}