summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2002-10-09 13:06:01 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2002-10-09 13:06:01 +0000
commitbd5b523b4907eaa3479424bb95c6eba8dcc85369 (patch)
tree612c00e3ab25c91d0d2617cafec32d32c4425ec8
parent73ac6f12f7013ddfcd85eb1488eda894e47aecce (diff)
downloaddrakx-bd5b523b4907eaa3479424bb95c6eba8dcc85369.tar
drakx-bd5b523b4907eaa3479424bb95c6eba8dcc85369.tar.gz
drakx-bd5b523b4907eaa3479424bb95c6eba8dcc85369.tar.bz2
drakx-bd5b523b4907eaa3479424bb95c6eba8dcc85369.tar.xz
drakx-bd5b523b4907eaa3479424bb95c6eba8dcc85369.zip
Fix get/set_wm_state(), we have to get the same data (size) that was set.
-rw-r--r--tools/aewm-drakx/client.c2
1 files changed, 1 insertions, 1 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. */