summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/misc.c
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-06-13 16:15:36 +0000
committerMystery Man <unknown@mandriva.org>2002-06-13 16:15:36 +0000
commitf6b1f4a66cef635a90213504ebebe8387f43a595 (patch)
tree30ddcf857393f7ae6ab825816285d7eb429ecc75 /tools/aewm-drakx/misc.c
parentf55dff2ba8cd925679728455a9a8b47654d14a44 (diff)
downloaddrakx-f6b1f4a66cef635a90213504ebebe8387f43a595.tar
drakx-f6b1f4a66cef635a90213504ebebe8387f43a595.tar.gz
drakx-f6b1f4a66cef635a90213504ebebe8387f43a595.tar.bz2
drakx-f6b1f4a66cef635a90213504ebebe8387f43a595.tar.xz
drakx-f6b1f4a66cef635a90213504ebebe8387f43a595.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_7_99mdk'.V1_1_7_99mdk
Diffstat (limited to 'tools/aewm-drakx/misc.c')
-rw-r--r--tools/aewm-drakx/misc.c30
1 files changed, 0 insertions, 30 deletions
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 <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);
-
- if (c) remove_client(c);
- return 0;
-}