From ef016519fadd0d52908858470a704cce6a8ceeff Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Thu, 17 Apr 2003 14:51:14 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V1_1_9_55mdk'. --- tools/aewm-drakx/misc.c | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 tools/aewm-drakx/misc.c (limited to 'tools/aewm-drakx/misc.c') diff --git a/tools/aewm-drakx/misc.c b/tools/aewm-drakx/misc.c deleted file mode 100644 index 9542c2cc3..000000000 --- a/tools/aewm-drakx/misc.c +++ /dev/null @@ -1,30 +0,0 @@ -/* aewm - a minimalistic X11 window manager. ------- vim:sw=4:et - * Copyright (c) 1998-2001 Decklin Foster - * Free software! Please see README for details and license. */ - -#include "aewm.h" -#include - - -void err(const char *fmt, ...) -{ - va_list argp; - - fprintf(stderr, "aewm: "); - va_start(argp, fmt); - vfprintf(stderr, fmt, argp); - va_end(argp); - fprintf(stderr, "\n"); -} - -int handle_xerror(Display *dpy, XErrorEvent *e) -{ - Client *c = find_client(e->resourceid); - - char msg[255]; - XGetErrorText(dpy, e->error_code, msg, sizeof msg); - err("X error (%#lx): %s", e->resourceid, msg); - - if (c) remove_client(c); - return 0; -} -- cgit v1.2.1