summaryrefslogtreecommitdiffstats
path: root/tools/aewm-drakx
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aewm-drakx')
-rw-r--r--tools/aewm-drakx/client.c2
-rw-r--r--tools/aewm-drakx/misc.c1
2 files changed, 1 insertions, 2 deletions
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;
}