mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Made sure that the windows with the WS_EX_TOOLWINDOW style didn't get
handled by the window manager.
This commit is contained in:
parent
aed79e58c7
commit
c9a50fd64f
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue