From c9a50fd64f12dc6c8ac710a9782e2505529c446c Mon Sep 17 00:00:00 2001 From: Francis Beaudet Date: Fri, 10 Sep 1999 13:59:24 +0000 Subject: [PATCH] Made sure that the windows with the WS_EX_TOOLWINDOW style didn't get handled by the window manager. --- windows/nonclient.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/windows/nonclient.c b/windows/nonclient.c index 327b4e6c707..87acf69e8ec 100644 --- a/windows/nonclient.c +++ b/windows/nonclient.c @@ -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; } -- 2.11.4.GIT