diff --git a/src/icon.c b/src/icon.c index f693e77f..db726e47 100644 --- a/src/icon.c +++ b/src/icon.c @@ -97,13 +97,13 @@ static void tileObserver(void *self, WMNotification * notif) /************************************/ -INLINE static void getSize(Drawable d, unsigned int *w, unsigned int *h, unsigned int *dep) +static int getSize(Drawable d, unsigned int *w, unsigned int *h, unsigned int *dep) { Window rjunk; int xjunk, yjunk; unsigned int bjunk; - XGetGeometry(dpy, d, &rjunk, &xjunk, &yjunk, w, h, &bjunk, dep); + return XGetGeometry(dpy, d, &rjunk, &xjunk, &yjunk, w, h, &bjunk, dep); } WIcon *icon_create_for_wwindow(WWindow *wwin)