X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/a70b0ef8bf7cb26cc779e9b2da480295f5ebf2bd..b4b5688edd332e17591ca7bc1cdd64c296abe1c5:/src/x11.c diff --git a/src/x11.c b/src/x11.c index b4b0a2c..dd59fd7 100644 --- a/src/x11.c +++ b/src/x11.c @@ -223,6 +223,7 @@ static void set_icon(struct app_state *state, Display *display, } XQueryColors(display, cmap, colours, XtNumber(colours)); + ewmh_icon_prepare_cmap(colours, XtNumber(colours)); wm_icon = ewmh_icon_generate(ewmhseq, colours); if (wm_icon) { XChangeProperty(display, XtWindow(shell), net_wm_icon,