Work around wrong offset in plugin windows

This commit is contained in:
Jakob Steltner
2026-01-03 23:06:36 +01:00
committed by Robbert van der Helm
parent cca3189855
commit 44d047e9e2
2 changed files with 31 additions and 1 deletions
+5
View File
@@ -311,6 +311,11 @@ class Editor {
*/
void redetect_host_window() noexcept;
/**
* Get offset of parent window to fix mouse coordinates.
*/
std::array<int16_t, 2> get_parent_window_offset();
/**
* Reparent `child` to `new_parent`. This includes the flush.
*/