ltoggle-toggle and capture based on general enumerated windows