From f7dabb01aedef1c33cae4d45c8aa53520fc3081d Mon Sep 17 00:00:00 2001 From: Ilya Shpigor Date: Thu, 18 Mar 2010 15:47:18 +0300 Subject: [PATCH] winex11.drv: Do not manage the V8NewLocalFrameBaseWnd windows and file dialogs in Gnome (eterbug #4397 #4973 #2080 #4693) --- dlls/winex11.drv/window.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 0083639a57..3a14164d23 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -48,6 +48,7 @@ #include "wine/server.h" #include "mwm.h" +#define ETERSOFT_FUNC_GETWM #include "wine/etersoft.h" WINE_DEFAULT_DEBUG_CHANNEL(x11drv); @@ -169,9 +170,13 @@ static BOOL is_window_managed( HWND hwnd, UINT swp_flags, const RECT *window_rec /* Menu should not be controled by the window manager */ LOADETER_FUNC(etersoft_1version); if ( etersoft_1version && (etersoft_1version() == 8) ) + { if (!strcmp(class, "V8PopupBar") && (style & ~WS_CAPTION) ) return FALSE; - + LOADETER_FUNC(etersoft_getwm) + if ((etersoft_getwm() == 2) && (!strcmp(class, "V8NewLocalFrameBaseWnd") || !strcmp(class, "#32770"))) + return FALSE; + } } /* EterBug 1087 */ -- 2.33.8