mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Move Win32 message limit constant
This commit is contained in:
@@ -20,6 +20,17 @@
|
||||
|
||||
#include "../editor.h"
|
||||
|
||||
/**
|
||||
* The maximum number of Win32 messages to handle per message loop. This is
|
||||
* needed because otherwise some plugins can run into an infinite loop. I've
|
||||
* observed this with:
|
||||
*
|
||||
* - Waves plugins
|
||||
* - Melda plugins when having multiple editor windows open within a single
|
||||
* plugin group
|
||||
*/
|
||||
constexpr int max_win32_messages = 20;
|
||||
|
||||
HostBridge::HostBridge(MainContext& main_context,
|
||||
boost::filesystem::path plugin_path,
|
||||
pid_t parent_pid)
|
||||
|
||||
@@ -34,17 +34,6 @@
|
||||
#include "utils.h"
|
||||
#include "xdnd-proxy.h"
|
||||
|
||||
/**
|
||||
* The maximum number of Win32 messages to handle per message loop. This is
|
||||
* needed because otherwise some plugins can run into an infinite loop. I've
|
||||
* observed this with:
|
||||
*
|
||||
* - Waves plugins
|
||||
* - Melda plugins when having multiple editor windows open within a single
|
||||
* plugin group
|
||||
*/
|
||||
constexpr int max_win32_messages [[maybe_unused]] = 20;
|
||||
|
||||
/**
|
||||
* The most significant bit in an X11 event's response type is used to indicate
|
||||
* the event source.
|
||||
|
||||
Reference in New Issue
Block a user