mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Flush any spooled XDND messages
The last position change message would never reach REAPER under when using certain plugins because we forgot the flush.
This commit is contained in:
@@ -282,6 +282,8 @@ void WineXdndProxy::run_xdnd_loop() {
|
|||||||
next_position_message_position.reset();
|
next_position_message_position.reset();
|
||||||
last_window_accepted_status = false;
|
last_window_accepted_status = false;
|
||||||
waiting_for_status_message = false;
|
waiting_for_status_message = false;
|
||||||
|
|
||||||
|
xcb_flush(x11_connection.get());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -292,6 +294,8 @@ void WineXdndProxy::run_xdnd_loop() {
|
|||||||
xcb_xdnd_copy_action);
|
xcb_xdnd_copy_action);
|
||||||
next_position_message_position.reset();
|
next_position_message_position.reset();
|
||||||
waiting_for_status_message = true;
|
waiting_for_status_message = true;
|
||||||
|
|
||||||
|
xcb_flush(x11_connection.get());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user