Sweden-Number/dlls/winemac.drv
Ken Thomases c95d2de3dd winemac: Ignore clipboard updates provoked by our own call to GetClipboardData().
During a call to GetClipboardData(), the app may be asked to render the data
for a promised format.  This will cause us to receive WM_CLIPBOARDUPDATE.

Almost always, the app will have just rendered the requested format and not
made any other changes.  Therefore, we don't need to rebuild the Mac pasteboard
from the Win32 clipboard.  Doing so can cause a race with the other Mac app
which is querying the pasteboard (for a paste operation, for example).  We
basically delete the data we _just_ added and rebuild the list of available
types.  The symptom is that the other Mac app sees the available types change
and maybe be incomplete.

In theory, the Windows app could make other changes to the clipboard and this
change would cause us to fail to convey them to the Mac pasteboard.  I consider
that very unlikely and the tradeoff to improve the common case is worth it.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-03 09:35:18 +01:00
..
.gitattributes
Makefile.in
clipboard.c winemac: Ignore clipboard updates provoked by our own call to GetClipboardData(). 2017-02-03 09:35:18 +01:00
cocoa_app.h
cocoa_app.m winemac: Update the clipboard when the process activates. 2016-12-12 19:14:19 +01:00
cocoa_clipboard.m winemac: Detect loss of ownership of the Mac pasteboard and update the clipboard manager status. 2016-10-24 11:10:18 +02:00
cocoa_display.m
cocoa_event.h
cocoa_event.m
cocoa_main.m
cocoa_opengl.h
cocoa_opengl.m
cocoa_status_item.m
cocoa_window.h winemac: Set windows to transparent until they have content to draw, to reduce flicker. 2016-09-02 23:31:01 +09:00
cocoa_window.m winemac: Make some operations on Cocoa views asynchronous. 2017-02-01 21:19:39 +01:00
display.c
dragdrop.c winemac: Change macdrv_copy_pasteboard_formats() to return a C array instead of a CFArray. 2016-10-24 11:10:06 +02:00
event.c winemac: Update the clipboard when the process activates. 2016-12-12 19:14:19 +01:00
gdi.c
image.c
ime.c ime: Do not send WM_IME_ENDCOMPOSITION on CPS_COMPLETE if there is no composition. 2016-12-14 20:36:16 +01:00
keyboard.c winemac: Update the keyboard layout data immediately after changing the input source. 2016-10-24 19:42:24 +02:00
macdrv.h winemac: Update the clipboard when the process activates. 2016-12-12 19:14:19 +01:00
macdrv_cocoa.h winemac: Update the clipboard when the process activates. 2016-12-12 19:14:19 +01:00
macdrv_main.c winemac: Run a single clipboard manager thread per window station, inside the explorer process. 2016-10-24 11:10:10 +02:00
macdrv_res.h
mouse.c
opengl.c winemac.drv: Use EqualRect() instead of memcmp() to compare RECTs. 2016-10-04 20:33:33 +02:00
surface.c
systray.c
window.c winemac: Don't set a view's frame if the backend's value hasn't changed. 2017-02-01 21:19:39 +01:00
winemac.drv.spec winemac: Implement the UpdateClipboard entry point to have the clipboard manager update its status. 2016-10-24 11:10:15 +02:00
winemac.rc