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 diff
1.1 --- a/wm.c Wed Jul 12 17:17:15 2006 +0200 1.2 +++ b/wm.c Wed Jul 12 17:50:31 2006 +0200 1.3 @@ -95,13 +95,12 @@ 1.4 int 1.5 win_proto(Window w) 1.6 { 1.7 - Atom *protocols; 1.8 + unsigned char *protocols; 1.9 long res; 1.10 int protos = 0; 1.11 int i; 1.12 1.13 - res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, 1.14 - ((unsigned char **) &protocols)); 1.15 + res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, &protocols); 1.16 if(res <= 0) { 1.17 return protos; 1.18 }