diff options
author | Mystery Man <unknown@mandriva.org> | 2003-05-20 13:38:10 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-05-20 13:38:10 +0000 |
commit | ab3c2887d53865f3918fe3e5da13f8ead0b6c90d (patch) | |
tree | 39bbe05b5468313f5dec73f3dc6121776d7439df /tools/aewm-drakx/misc.c | |
parent | 57ade802654490078b19586421a813bf381d8961 (diff) | |
download | drakx-9_2_0_1mdk.tar drakx-9_2_0_1mdk.tar.gz drakx-9_2_0_1mdk.tar.bz2 drakx-9_2_0_1mdk.tar.xz drakx-9_2_0_1mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V9_2_0_1mdk'.V9_2_0_1mdk
Diffstat (limited to 'tools/aewm-drakx/misc.c')
-rw-r--r-- | tools/aewm-drakx/misc.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tools/aewm-drakx/misc.c b/tools/aewm-drakx/misc.c deleted file mode 100644 index fa0523534..000000000 --- a/tools/aewm-drakx/misc.c +++ /dev/null @@ -1,29 +0,0 @@ -/* aewm - a minimalistic X11 window manager. ------- vim:sw=4:et - * Copyright (c) 1998-2001 Decklin Foster <decklin@red-bean.com> - * Free software! Please see README for details and license. */ - -#include "aewm.h" -#include <stdarg.h> - - -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); - - return 0; -} |