summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
-rw-r--r--tools/aewm-drakx/client.c2
-rw-r--r--tools/aewm-drakx/misc.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 244b23bd9..b3a17a636 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -3,7 +3,7 @@ DEST = $(ROOTDEST)/Mandrake/mdkinst
RPMS = $(wildcard $(ROOTDEST)/Mandrake/RPMS/*.rpm)
DIRS = ddcprobe serial_probe aewm-drakx
BASE = $(ROOTDEST)/Mandrake/base
-CFLAGS = -Wall
+CFLAGS = -Wall -Os
ARCH := $(shell arch | egrep "(x86_64|sparc64|s390x)")
ifneq ("x$(ARCH)", "x")
diff --git a/tools/aewm-drakx/client.c b/tools/aewm-drakx/client.c
index 8db6b2151..905fd4fbc 100644
--- a/tools/aewm-drakx/client.c
+++ b/tools/aewm-drakx/client.c
@@ -34,7 +34,7 @@ void set_focus_on(Window w)
* this property. Does this goof up on 64 bit systems? */
void set_wm_state(Client *c, int state)
{
- CARD32 data[2];
+ long data[2];
data[0] = state;
data[1] = None; /* Icon? We don't need no steenking icon. */
diff --git a/tools/aewm-drakx/misc.c b/tools/aewm-drakx/misc.c
index 9542c2cc3..fa0523534 100644
--- a/tools/aewm-drakx/misc.c
+++ b/tools/aewm-drakx/misc.c
@@ -25,6 +25,5 @@ int handle_xerror(Display *dpy, XErrorEvent *e)
XGetErrorText(dpy, e->error_code, msg, sizeof msg);
err("X error (%#lx): %s", e->resourceid, msg);
- if (c) remove_client(c);
return 0;
}