Commit 19862b41 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winemac: Make macdrv_set_cocoa_window_frame() synchronous again.

It has a non-object pointer from the caller, so it can't allow the caller to continue until it's finished with it. Also, it discards events from the event queue and we don't want the caller to process them first. Fixes brokenness introduced by 784a9139.
parent fa8e8c25
......@@ -2085,7 +2085,7 @@ void macdrv_set_cocoa_window_frame(macdrv_window w, const CGRect* new_frame)
{
WineWindow* window = (WineWindow*)w;
OnMainThreadAsync(^{
OnMainThread(^{
[window setFrameFromWine:NSRectFromCGRect(*new_frame)];
});
}
......
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