Mercurial > dwm-meillo
diff wm.c @ 30:2e0fb4130bfb
new stuff, fixed several issues
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Wed, 12 Jul 2006 17:50:31 +0200 |
parents | f96fb3fd8203 |
children | 386649deb651 |
line wrap: on
line diff
--- a/wm.c Wed Jul 12 17:17:15 2006 +0200 +++ b/wm.c Wed Jul 12 17:50:31 2006 +0200 @@ -95,13 +95,12 @@ 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; }