use _net_wm_name as primary and fallback to wm_name