[Wine-patches] [eterhack] focus.c: Fix bug with hidden modal window in 1c82 (eterbug #8702)

Danil Pleshakov darkdan на etersoft.ru
Ср Окт 24 15:15:01 MSK 2012


---
 dlls/user32/focus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/focus.c b/dlls/user32/focus.c
index 86f9ddc..70a293b 100644
--- a/dlls/user32/focus.c
+++ b/dlls/user32/focus.c
@@ -136,10 +136,10 @@ static BOOL set_active_window( HWND hwnd, HWND *prev, BOOL mouse, BOOL focus )
                                  SMTO_ABORTIFHUNG, 2000, NULL );
 
         /* This hack is needed to solve
-         * eterbug #1837 in Gnome only
+         * eterbug #1837, #8702
          */
         LOADETER_FUNC(etersoft_getwm)
-        if (etersoft_getwm && etersoft_getwm() == 2)
+        if (etersoft_getwm && etersoft_getwm() != 1)
         {
             DEFETER_FUNC(etersoft_1version);
             LOADETER_FUNC(etersoft_1version);
-- 
1.7.11.7



Подробная информация о списке рассылки Wine-patches