Deleting windows via double click