X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fkdetrayproxy%2Fkdetrayproxy.c;h=00f2d248359cf3f710a1ad468641d86f7963397d;hb=78af5d15e9dd94959786811e9eddfa1e5024067c;hp=f276bf89a5b60565e511164f5339728d1e4a45e5;hpb=16f46c296d1fcd3f27fc62a18e71c55fb3fd3e88;p=chaz%2Fopenbox diff --git a/tools/kdetrayproxy/kdetrayproxy.c b/tools/kdetrayproxy/kdetrayproxy.c index f276bf89..00f2d248 100644 --- a/tools/kdetrayproxy/kdetrayproxy.c +++ b/tools/kdetrayproxy/kdetrayproxy.c @@ -151,7 +151,7 @@ void addicon(Window win) void removeicon(Window win, int unmap) { IList *it, *last = NULL; - void *old; + int (*old)(Display *, XErrorEvent *); for (it = list; it; last = it, it = it->next) if (it->win == win) { @@ -223,9 +223,9 @@ Window findclient(Window win) /* try me */ XGetWindowProperty(display, win, state, 0, 1, - False, state, &ret_type, &ret_format, - &ret_items, &ret_bytesleft, - (unsigned char**) &prop_return); + False, state, &ret_type, &ret_format, + &ret_items, &ret_bytesleft, + (unsigned char**) &prop_return); if (ret_type == None || ret_items < 1) return None; return win; /* found it! */