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

This commit is contained in:
Alexandre Julliard 2007-10-11 12:25:02 +02:00
parent c4e20e7462
commit c881875c07
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}