Commit fa573553 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Run a single clipboard manager thread per window station, inside the explorer process.

parent 78295916
......@@ -194,7 +194,7 @@ extern HKL macdrv_get_hkl_from_source(TISInputSourceRef input_source) DECLSPEC_H
extern void macdrv_displays_changed(const macdrv_event *event) DECLSPEC_HIDDEN;
extern void macdrv_clipboard_process_attach(void) DECLSPEC_HIDDEN;
extern void macdrv_init_clipboard(void) DECLSPEC_HIDDEN;
extern BOOL query_pasteboard_data(HWND hwnd, CFStringRef type) DECLSPEC_HIDDEN;
extern const char *debugstr_format(UINT id) DECLSPEC_HIDDEN;
extern HANDLE macdrv_get_pasteboard_data(CFTypeRef pasteboard, UINT desired_format) DECLSPEC_HIDDEN;
......
......@@ -283,8 +283,6 @@ static BOOL process_attach(void)
return FALSE;
}
macdrv_clipboard_process_attach();
return TRUE;
}
......
......@@ -1480,6 +1480,8 @@ BOOL CDECL macdrv_CreateDesktopWindow(HWND hwnd)
*/
BOOL CDECL macdrv_CreateWindow(HWND hwnd)
{
if (hwnd == GetDesktopWindow())
macdrv_init_clipboard();
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment