winemac: Update the clipboard when the process activates.
commite5a9055dacf0a3dc7d232016f953131a2e867f13
authorKen Thomases <ken@codeweavers.com>
Fri, 9 Dec 2016 22:25:08 +0000 (9 16:25 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 12 Dec 2016 18:14:19 +0000 (12 19:14 +0100)
treed38fb423e49943f003b1bed4d81d28e2396e0977
parentcd8c09b3e359b9f05bb19ca508d7d409f7263310
winemac: Update the clipboard when the process activates.

If another app grabbed the clipboard, that most likely happened while it was
active and the Wine process was inactive.  Our process being made active again
is a good opportunity to check for that.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winemac.drv/cocoa_app.m
dlls/winemac.drv/event.c
dlls/winemac.drv/macdrv.h
dlls/winemac.drv/macdrv_cocoa.h
dlls/winemac.drv/window.c