mdi: remove child activate optimization

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Mar 9 04:46:20 CST 2004


        Huw Davies <huw at codeweavers.com>
        We need to at least refresh the window menu in ChildActivate,
        so for now remove the 'is already activated' optimization.
-- 
Huw Davies
huw at codeweavers.com
--- windows/mdi.c	2004-03-09 10:38:23.000000000 +0000
+++ windows/mdi.c	2004-03-09 10:40:06.000000000 +0000
@@ -559,11 +559,6 @@
 
     clientInfo = get_client_info( client );
 
-    /* Don't activate if it is already active. Might happen
-       since ShowWindow DOES activate MDI children */
-    if (clientInfo->hwndActiveChild == child)
-        return 0;
-
     TRACE("%p\n", child);
 
     isActiveFrameWnd = (GetActiveWindow() == GetParent(client));



More information about the wine-patches mailing list