X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tools%2Fkdetrayproxy%2Fkdetrayproxy.c;h=00f2d248359cf3f710a1ad468641d86f7963397d;hb=425dc318088b4c675cc0d7e6d75c6ff552cee448;hp=71aeca8b7990f815e9e07c73ceb9761c91aa33d9;hpb=c4e4760c41f10aae6af19a4363cb247c71edee4b;p=chaz%2Fopenbox diff --git a/tools/kdetrayproxy/kdetrayproxy.c b/tools/kdetrayproxy/kdetrayproxy.c index 71aeca8b..00f2d248 100644 --- a/tools/kdetrayproxy/kdetrayproxy.c +++ b/tools/kdetrayproxy/kdetrayproxy.c @@ -1,4 +1,4 @@ -/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*- +/* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*- kdetrayproxy.c for the Openbox window manager Copyright (c) 2003 Ben Jansens @@ -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! */