Currently, when clicking an empty slot the FX chain window opens, not the Add FX to track dialog. There seems to be no API for opening that dialog, though, but this should be looked into in more detail. Can it be worked around?
The track selection changes, this is necessary since that is the way that the FX browser knows which track to add to. fxlist does the same. But clicking an empty slot in the mixer does not change the track selection. Maybe store track selection before and then restore it after opening the FX browser?
Clicking once opens the FX browser, clicking again closes it. MFX then gets the focus, and then the focus is stolen so no key strokes go to Reaper. And I see no way to query the FX browser window's state, or how to put it on openwin_list. Keeping track of the state myself is not a solution, as the window can be closed by ESC, Cancel, or upper right X. Also, when clicking OK in the FX browser, the FX chain window opens. Closing one again gives focus to MFX, and the focus is stolen.
Currently, when clicking an empty slot the FX chain window opens, not the Add FX to track dialog. There seems to be no API for opening that dialog, though, but this should be looked into in more detail. Can it be worked around?