try to support _MOTIF_WM_HINTS