[client,x11] properly initialize file clipboard
This commit is contained in:
parent
b526078c3c
commit
0fb242da7b
@ -1876,7 +1876,10 @@ xf_cliprdr_server_format_data_response(CliprdrClientContext* context,
|
||||
|
||||
if (strcmp(clipboard->requestedFormat->formatName, type_FileGroupDescriptorW) == 0)
|
||||
{
|
||||
if (!cliprdr_file_context_update_server_data(clipboard->file, data, size))
|
||||
if (!cliprdr_file_context_update_base(clipboard->file, clipboard->system))
|
||||
{
|
||||
}
|
||||
else if (!cliprdr_file_context_update_server_data(clipboard->file, data, size))
|
||||
WLog_WARN(TAG, "failed to update file descriptors");
|
||||
|
||||
srcFormatId = ClipboardGetFormatId(clipboard->system, type_FileGroupDescriptorW);
|
||||
|
Loading…
Reference in New Issue
Block a user