aewl
changeset 203:81498863dc30
changed getproto, maybe that might fix the killclient issue reported on the list
author | arg@10ksloc.org |
---|---|
date | Mon, 07 Aug 2006 08:19:58 +0200 |
parents | f5b952e566da |
children | 38acc0874280 |
files | main.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/main.c Mon Aug 07 08:05:04 2006 +0200 1.2 +++ b/main.c Mon Aug 07 08:19:58 2006 +0200 1.3 @@ -102,9 +102,10 @@ 1.4 int protos = 0; 1.5 int i; 1.6 long res; 1.7 - unsigned char *protocols; 1.8 + Atom *protocols; 1.9 1.10 - res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, &protocols); 1.11 + res = win_property(w, wmatom[WMProtocols], XA_ATOM, 20L, 1.12 + ((unsigned char **)&protocols)); 1.13 if(res <= 0) { 1.14 return protos; 1.15 }