add motif_wm_hints hack