summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-05-06 13:11:49 +0000
committerMystery Man <unknown@mandriva.org>2003-05-06 13:11:49 +0000
commit3f5d21d90abbd16f16ab69aec1e1a1853a93fd18 (patch)
tree3d9f5a32303a8d97b4b457949e64bb42b4850ea9 /tools
parent327bd24f8e4291bd1882de1990dd7339f781a9cb (diff)
downloaddrakx-R9_0-AMD64.tar
drakx-R9_0-AMD64.tar.gz
drakx-R9_0-AMD64.tar.bz2
drakx-R9_0-AMD64.tar.xz
drakx-R9_0-AMD64.zip
This commit was manufactured by cvs2svn to create tag 'R9_0-AMD64'.R9_0-AMD64
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;
}