Commit bc47d492 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winemac: WS_EX_DLGMODALFRAME shouldn't prevent the window being resizeable.

parent 45177809
......@@ -72,12 +72,12 @@ static void get_cocoa_window_features(struct macdrv_win_data *data,
if (ex_style & WS_EX_TOOLWINDOW) wf->utility = TRUE;
}
}
if (ex_style & WS_EX_DLGMODALFRAME) wf->shadow = TRUE;
else if (style & WS_THICKFRAME)
if (style & WS_THICKFRAME)
{
wf->shadow = TRUE;
if (!data->shaped) wf->resizable = TRUE;
}
else if (ex_style & WS_EX_DLGMODALFRAME) wf->shadow = TRUE;
else if ((style & (WS_DLGFRAME|WS_BORDER)) == WS_DLGFRAME) wf->shadow = 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