qt4: don't count unselectable windows