From ea3680b8c791759890c464b5b06a6ae70df15d78 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 14 Nov 2022 23:31:37 +0100 Subject: [PATCH] Define yabridge Window class name in header Apparently this is used in xdnd-proxy.cpp. --- src/wine-host/editor.cpp | 6 ------ src/wine-host/editor.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 92fa6fc9..167d56c2 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -41,12 +41,6 @@ using namespace std::literals::string_literals; } \ } while (0) -/** - * The name of the Win32 window class we'll use for the Win32 window that the - * plugin can embed itself in. - */ -constexpr char yabridge_window_class_name[] = "yabridge plugin"; - /** * The Win32 timer ID we'll use to periodically call the VST2 `effeditidle` * function with. We have to do this on a timer because the function has to be diff --git a/src/wine-host/editor.h b/src/wine-host/editor.h index 60e362e4..d226b6d0 100644 --- a/src/wine-host/editor.h +++ b/src/wine-host/editor.h @@ -48,6 +48,12 @@ constexpr uint8_t xcb_event_type_mask = 0b0111'1111; */ constexpr char xdnd_aware_property_name[] = "XdndAware"; +/** + * The name of the Win32 window class we'll use for the Win32 window that the + * plugin can embed itself in. + */ +constexpr char yabridge_window_class_name[] = "yabridge plugin"; + /** * Get the atom with the specified name. May throw when * `xcb_intern_atom_reply()` returns an error. Returns `XCB_ATOM_NONE` when the