summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx/misc.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-08 12:36:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-08 12:36:10 +0000
commitabbe4a3de13983cbcab7c62f08457fccd6aa9bee (patch)
tree904217b046d2a81dc02a77c7af6f9debad3bcb32 /tools/aewm-drakx/misc.c
parent56aa33e8cf2d62b12f4c56537d13905e6cafca72 (diff)
downloaddrakx-abbe4a3de13983cbcab7c62f08457fccd6aa9bee.tar
drakx-abbe4a3de13983cbcab7c62f08457fccd6aa9bee.tar.gz
drakx-abbe4a3de13983cbcab7c62f08457fccd6aa9bee.tar.bz2
drakx-abbe4a3de13983cbcab7c62f08457fccd6aa9bee.tar.xz
drakx-abbe4a3de13983cbcab7c62f08457fccd6aa9bee.zip
fixing keyboard focus during install:
- removed aewm-drakx which doesn't work nicely - fix @interactive::objects handling (don't push non pop_it windows, ensure destroyed windows are removed) - ensure XSetInputFocus is called on $::WizardWindow
Diffstat (limited to 'tools/aewm-drakx/misc.c')
-rw-r--r--tools/aewm-drakx/misc.c29
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;
-}