# HG changeset patch # User arg@10ksloc.org # Date 1154931598 -7200 # Node ID 81498863dc3066e08d7be5f6d53f45862eb69e8d # Parent f5b952e566dac41e0905c4844c71c325b9495486 changed getproto, maybe that might fix the killclient issue reported on the list diff -r f5b952e566da -r 81498863dc30 main.c --- a/main.c Mon Aug 07 08:05:04 2006 +0200 +++ b/main.c Mon Aug 07 08:19:58 2006 +0200 @@ -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; }