diff options
author | Anselm R. Garbe | 2006-07-12 17:50:31 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2006-07-12 17:50:31 +0200 |
commit | b1701adf75297747c52e0c3ed2c314cd10129907 (patch) | |
tree | 5afad14f6b53c57b1c063df3ddc434fe138ec5f7 /wm.c | |
parent | 2e836ecce1ba0629a6088b739c1092d27fccd72b (diff) |
new stuff, fixed several issues
Diffstat (limited to 'wm.c')
-rw-r--r-- | wm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -95,13 +95,12 @@ win_property(Window w, Atom a, Atom t, long l, unsigned char **prop) int win_proto(Window w) { - Atom *protocols; + unsigned char *protocols; long res; int protos = 0; int i; - res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, - ((unsigned char **) &protocols)); + res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, &protocols); if(res <= 0) { return protos; } |