Merge pull request #10205 from akallabeth/clip-msg-response

[client,cliprdr] send format list msgFlags = 0
This commit is contained in:
David Fort 2024-05-22 19:17:38 +02:00 committed by GitHub
commit f9bd3ab1b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -74,7 +74,7 @@ UINT android_cliprdr_send_client_format_list(CliprdrClientContext* cliprdr)
}
}
formatList.common.msgFlags = CB_RESPONSE_OK;
formatList.common.msgFlags = 0;
formatList.numFormats = numFormats;
formatList.formats = formats;
formatList.common.msgType = CB_FORMAT_LIST;

View File

@ -54,7 +54,7 @@ int mac_cliprdr_send_client_format_list(CliprdrClientContext *cliprdr)
formats[index].formatName = _strdup(formatName);
}
formatList.common.msgFlags = CB_RESPONSE_OK;
formatList.common.msgFlags = 0;
formatList.numFormats = numFormats;
formatList.formats = formats;
formatList.common.msgType = CB_FORMAT_LIST;

View File

@ -225,7 +225,7 @@ static UINT wlf_cliprdr_send_client_format_list(wfClipboard* clipboard)
{
WINPR_ASSERT(clipboard);
const CLIPRDR_FORMAT_LIST formatList = { .common.msgFlags = CB_RESPONSE_OK,
const CLIPRDR_FORMAT_LIST formatList = { .common.msgFlags = 0,
.numFormats = (UINT32)clipboard->numClientFormats,
.formats = clipboard->clientFormats,
.common.msgType = CB_FORMAT_LIST };

View File

@ -793,7 +793,7 @@ static UINT xf_cliprdr_send_format_list(xfClipboard* clipboard, const CLIPRDR_FO
const CLIPRDR_FORMAT* cpv;
CLIPRDR_FORMAT* pv;
} cnv = { .cpv = formats };
const CLIPRDR_FORMAT_LIST formatList = { .common.msgFlags = CB_RESPONSE_OK,
const CLIPRDR_FORMAT_LIST formatList = { .common.msgFlags = 0,
.numFormats = numFormats,
.formats = cnv.pv,
.common.msgType = CB_FORMAT_LIST };

View File

@ -72,7 +72,7 @@ UINT ios_cliprdr_send_client_format_list(CliprdrClientContext *cliprdr)
}
}
formatList.common.msgFlags = CB_RESPONSE_OK;
formatList.common.msgFlags = 0;
formatList.numFormats = numFormats;
formatList.formats = formats;
formatList.common.msgType = CB_FORMAT_LIST;