Commit c881875c authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't use a window manager border for a simple WS_BORDER-style border.

parent c4e20e74
......@@ -147,8 +147,6 @@ static unsigned long get_mwm_decorations( DWORD style, DWORD ex_style )
if (ex_style & WS_EX_DLGMODALFRAME) ret |= MWM_DECOR_BORDER;
else if (style & WS_THICKFRAME) ret |= MWM_DECOR_BORDER | MWM_DECOR_RESIZEH;
else if ((style & (WS_DLGFRAME|WS_BORDER)) == WS_DLGFRAME) ret |= MWM_DECOR_BORDER;
else if (style & WS_BORDER) ret |= MWM_DECOR_BORDER;
else if (!(style & (WS_CHILD|WS_POPUP))) ret |= MWM_DECOR_BORDER;
return ret;
}
......
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