if (!prop_get_array32(win, CWMCC_ATOM(client, wm_protocols),
CWMCC_ATOM(type, atom), protocols, &num)) {
+ g_warning("Failed to read WM_PROTOCOLS from 0x%lx", win);
*protocols = NULL;
}
}
}
}
-void cwmcc_client_icon_set_name(Window win, char *name)
+void cwmcc_client_set_icon_name(Window win, char *name)
{
XChangeProperty(cwmcc_display, win, CWMCC_ATOM(client, net_wm_icon_name),
CWMCC_ATOM(type, utf8), 32, PropModeReplace,
*t = data[2];
*b = data[3];
}
- g_free(l);
+ g_free(data);
}
static void convert_pixmap_to_icon(Pixmap pix, Pixmap mask,