mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix URI list length
Apparently you're _not_ supposed to count the trailing lien feed. This would cause REAPER to freeze.
This commit is contained in:
@@ -624,8 +624,7 @@ void WineXdndProxy::handle_convert_selection(
|
||||
const xcb_selection_request_event_t& event) {
|
||||
xcb_change_property(x11_connection.get(), XCB_PROP_MODE_REPLACE,
|
||||
event.requestor, event.property, event.target, 8,
|
||||
// +1 to account for the trailing null byte
|
||||
dragged_files_uri_list.size() + 1,
|
||||
dragged_files_uri_list.size(),
|
||||
dragged_files_uri_list.c_str());
|
||||
xcb_flush(x11_connection.get());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user