Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46857 Signed-off-by: Rémi Bernon rbernon@codeweavers.com ---
This is completely untested as I don't have a Mac, but I believe it's the same change as winex11.drv.
dlls/winemac.drv/window.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/winemac.drv/window.c b/dlls/winemac.drv/window.c index 605c0c87f16..258412e0930 100644 --- a/dlls/winemac.drv/window.c +++ b/dlls/winemac.drv/window.c @@ -63,6 +63,7 @@ static void get_cocoa_window_features(struct macdrv_win_data *data,
if (disable_window_decorations) return; if (IsRectEmpty(&data->window_rect)) return; + if (EqualRect(&data->window_rect, &data->client_rect)) return;
if ((style & WS_CAPTION) == WS_CAPTION && !(ex_style & WS_EX_LAYERED)) {