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
@ -96,8 +96,10 @@ BYTE lpGrayMask[] = { 0xAA, 0xA0,
|
|||||||
*/
|
*/
|
||||||
BOOL WIN_WindowNeedsWMBorder( DWORD style, DWORD exStyle )
|
BOOL WIN_WindowNeedsWMBorder( DWORD style, DWORD exStyle )
|
||||||
{
|
{
|
||||||
if (!(style & WS_CHILD) && Options.managed &&
|
if (!(style & WS_CHILD) &&
|
||||||
(((style & WS_CAPTION) == WS_CAPTION) ||
|
Options.managed &&
|
||||||
|
!(exStyle & WS_EX_TOOLWINDOW) &&
|
||||||
|
( ((style & WS_CAPTION) == WS_CAPTION) ||
|
||||||
(style & WS_THICKFRAME)))
|
(style & WS_THICKFRAME)))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user