wmaker: switch back icon name to the window name when needed