diff options
author | Mystery Man <unknown@mandriva.org> | 2003-08-20 07:37:27 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-08-20 07:37:27 +0000 |
commit | 7f2ac73888b8ef372ea597049981b27e7d810ac2 (patch) | |
tree | 354132889b63bbe5f446cb82869b3c3367135a80 /tools | |
parent | 327bd24f8e4291bd1882de1990dd7339f781a9cb (diff) | |
download | drakx-backup-do-not-use-topic/MDKC_1_0.tar drakx-backup-do-not-use-topic/MDKC_1_0.tar.gz drakx-backup-do-not-use-topic/MDKC_1_0.tar.bz2 drakx-backup-do-not-use-topic/MDKC_1_0.tar.xz drakx-backup-do-not-use-topic/MDKC_1_0.zip |
This commit was manufactured by cvs2svn to create branch 'MDKC_1_0'.topic/MDKC_1_0
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile | 2 | ||||
-rw-r--r-- | tools/aewm-drakx/client.c | 2 | ||||
-rw-r--r-- | tools/aewm-drakx/misc.c | 1 |
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; } |