changed getproto, maybe that might fix the killclient issue reported on the list
arg@10ksloc.org unknown
Mon, 07 Aug 2006 08:19:58 +0200
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
main.c
→
main.c
@@ -102,9 +102,10 @@ {
int protos = 0; int i; long res; - unsigned char *protocols; + Atom *protocols; - res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, &protocols); + res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, + ((unsigned char **)&protocols)); if(res <= 0) { return protos; }