For a long time the computational chemistry and molecular modelling package MOE from Chemical Computing Group has required XQuartz to provide the windowing environment. With the introduction of macOS Tahoe XQuartz a number of issues appeared and it became unusable on a Mac.
Fortunately CCG released an updated version that no longer required XQuartz, I’ve been using this version for a while now without any issues. One thing that XQuatrz did provide was an easy way to navigate between windows, I mentioned this to CCG support and they send a small windows modifier file that that needs to be put in the $HOME/moefiles/menu/ and restart MOE.

The result is an easily navigable menu to access all open windows. You’ll need to make sure it’s updated with every release of MOE. In most releases the Window menu won’t change. However, every now and then a new Window menu item might be added that you won’t see unless the script is updated.
I’ve attached the file below.