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

winemac: Take WS_EX_TOOLWINDOW into account when computing how much of a window…

winemac: Take WS_EX_TOOLWINDOW into account when computing how much of a window is replaced by the Mac decorations.
parent 0d8800d4
......@@ -137,7 +137,11 @@ static void get_mac_rect_offset(struct macdrv_win_data *data, DWORD style, RECT
struct macdrv_window_features wf;
get_cocoa_window_features(data, style, ex_style, &wf);
if (wf.title_bar) style_mask |= WS_CAPTION;
if (wf.title_bar)
{
style_mask |= WS_CAPTION;
ex_style_mask |= WS_EX_TOOLWINDOW;
}
if (wf.shadow)
{
style_mask |= WS_DLGFRAME | WS_THICKFRAME;
......
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