Peter Dons Tychsen : x11drv:
Fix the special case where windows have WS_CHILD and WS_POPUP.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 25 07:44:23 CDT 2007
Module: wine
Branch: master
Commit: d0b21abe81f9722defc4fc0cb7ca596f7815a220
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d0b21abe81f9722defc4fc0cb7ca596f7815a220
Author: Peter Dons Tychsen <donpedro at tdcadsl.dk>
Date: Wed Jul 25 04:09:50 2007 +0200
x11drv: Fix the special case where windows have WS_CHILD and WS_POPUP.
---
dlls/winex11.drv/window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c
index be5d114..c571684 100644
--- a/dlls/winex11.drv/window.c
+++ b/dlls/winex11.drv/window.c
@@ -76,7 +76,7 @@ static inline BOOL is_window_managed( HWND hwnd )
if (ex_style & WS_EX_TRAYWINDOW) return TRUE;
/* child windows are not managed */
style = GetWindowLongW( hwnd, GWL_STYLE );
- if (style & WS_CHILD) return FALSE;
+ if ((style & (WS_CHILD|WS_POPUP)) == WS_CHILD) return FALSE;
/* windows with caption are managed */
if ((style & WS_CAPTION) == WS_CAPTION) return TRUE;
/* tool windows are not managed */
More information about the wine-cvs
mailing list