Alexandre Julliard : winex11: Remove support for synthesizing clipboard formats.

Ken Thomases ken at codeweavers.com
Thu Sep 8 16:59:38 CDT 2016


On Sep 7, 2016, at 10:48 AM, Alexandre Julliard <julliard at winehq.org> wrote:
> 
> Module: wine
> Branch: master
> Commit: 761d244970dd189b1a639121e668a5089fd0112d
> URL:    http://source.winehq.org/git/wine.git/?a=commit;h=761d244970dd189b1a639121e668a5089fd0112d
> 
> Author: Alexandre Julliard <julliard at winehq.org>
> Date:   Wed Sep  7 11:35:14 2016 +0900
> 
> winex11: Remove support for synthesizing clipboard formats.
> 
> Signed-off-by: Alexandre Julliard <julliard at winehq.org>
> 
> ---
> 
> dlls/winex11.drv/clipboard.c      | 454 ++------------------------------------
> dlls/winex11.drv/winex11.drv.spec |   1 -
> 2 files changed, 14 insertions(+), 441 deletions(-)
> 
> Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=761d244970dd189b1a639121e668a5089fd0112d

Either I'm missing something or this isn't correct.

You've made user32 synthesize formats when a Windows app puts one text format on the clipboard but not the others, but you haven't handled the case were an external program has put some text on the clipboard.  For example, if some non-Wine X client puts UTF8_STRING but not STRING or text/plain on the clipboard, a Windows program will see CF_UNICODETEXT, but not CF_TEXT or CF_OEMTEXT.  That shouldn't be possible.

-Ken




More information about the wine-devel mailing list