rewritten disjoin windows function due to defective get-window-title