Remove editor_double_embed

It's no longer needed after the `fix_local_coordinates()` change from a
fa12c64866a8b79e862bc5db4c4b092a4b762689.
This commit is contained in:
Robbert van der Helm
2021-08-16 21:10:16 +02:00
parent 9ac597a6fd
commit cc9226a3fc
7 changed files with 23 additions and 77 deletions
+1 -12
View File
@@ -213,8 +213,7 @@ class Editor {
/**
* Get the Win32 window handle so it can be passed to an `effEditOpen()`
* call. This will return the child window's handle if double editor
* embedding is enabled.
* call.
*/
HWND get_win32_handle() const noexcept;
@@ -365,16 +364,6 @@ class Editor {
*/
DeferredWin32Window win32_window;
/**
* A child window embedded inside of `win32_window`. This is only used if
* the `editor_double_embed` option is enabled. It can be used as a
* workaround for plugins that rely on their parent window's screen
* coordinates instead of their own (see the 'Editor hosting modes' section
* of the readme for more details). The plugin should then embed itself
* within this child window.
*/
std::optional<DeferredWin32Window> win32_child_window;
/**
* A timer we'll use to periodically run the X11 event loop plus
* `idle_timer_proc`, if that is set. We handle X11 events from within the