diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c index 9824d9971f0..6e0926c7ad5 100644 --- a/dlls/winemac.drv/window.c +++ b/dlls/winemac.drv/window.c @@ -2021,7 +2021,7 @@ void CDECL macdrv_WindowPosChanged(HWND hwnd, HWND insert_after, UINT swp_flags, data->window_rect = *window_rect; data->whole_rect = *visible_rect; data->client_rect = *client_rect; - if (!data->ulw_layered) + if (data->cocoa_window && !data->ulw_layered) { if (surface) window_surface_add_ref(surface); if (new_style & WS_MINIMIZE)