detect existing window desktops #281