Delay editor_force_xdnd until the reparent #160

This fixes the option not working correctly when REAPER reparents the
plugin's window to a new FX window.
This commit is contained in:
Robbert van der Helm
2022-01-29 01:44:03 +01:00
parent 7f14cdf208
commit d6260c1d6b
3 changed files with 41 additions and 15 deletions
+6
View File
@@ -268,6 +268,12 @@ class Editor {
*/
const bool use_coordinate_hack_;
/**
* Whether the `editor_force_dnd` workaround for REAPER should be activated.
* See the implementation in `editor.cpp` for more details.
*/
const bool use_force_dnd_;
/**
* Whether to use XEmbed instead of yabridge's normal window embedded. Wine
* with XEmbed tends to cause rendering issues, so it's disabled by default.