diff --git a/src/icon.c b/src/icon.c index 1ed90bd6..6a0e817a 100644 --- a/src/icon.c +++ b/src/icon.c @@ -601,11 +601,8 @@ static void unset_icon_image(WIcon *icon) void wIconUpdate(WIcon *icon) { - WScreen *scr = icon->core->screen_ptr; WWindow *wwin = icon->owner; - assert(scr->icon_tile != NULL); - if (wwin && WFLAGP(wwin, always_user_icon)) { /* Forced use user_icon */ get_rimage_icon_from_user_icon(icon);