Commit c9a50fd6 authored by Francis Beaudet's avatar Francis Beaudet Committed by Alexandre Julliard

Made sure that the windows with the WS_EX_TOOLWINDOW style didn't get

handled by the window manager.
parent aed79e58
......@@ -96,9 +96,11 @@ BYTE lpGrayMask[] = { 0xAA, 0xA0,
*/
BOOL WIN_WindowNeedsWMBorder( DWORD style, DWORD exStyle )
{
if (!(style & WS_CHILD) && Options.managed &&
(((style & WS_CAPTION) == WS_CAPTION) ||
(style & WS_THICKFRAME)))
if (!(style & WS_CHILD) &&
Options.managed &&
!(exStyle & WS_EX_TOOLWINDOW) &&
( ((style & WS_CAPTION) == WS_CAPTION) ||
(style & WS_THICKFRAME)))
return TRUE;
return FALSE;
}
......
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