changed getproto, maybe that might fix the killclient issue reported on the list d54444cf
arg@10ksloc.org · 2006-08-07 08:19 1 file(s) · +3 −2
main.c +3 −2
102 102
	int protos = 0;
103 103
	int i;
104 104
	long res;
105 -
	unsigned char *protocols;
105 +
	Atom *protocols;
106 106
107 -
	res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, &protocols);
107 +
	res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L,
108 +
			((unsigned char **)&protocols));
108 109
	if(res <= 0) {
109 110
		return protos;
110 111
	}