[Bug 1233] CreateWindow activates window to early

Wine Bugs wine-bugs at winehq.com
Fri Jun 20 06:49:22 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=1233





------- Additional Comments From z_god at wanadoo.nl  2003-20-06 06:49 -------
Bug comments restored from Gmane.org: 
 
Wine 20030115 
In X11DRV_CreateWindow, a window with WS_MAXIMIZE or WS_MINIMIZE set 
may be 
activated to early. 
 
Changeing, at dll/x11drv/window.c line 1014 
swFlag = ((wndPtr->dwStyle & WS_CHILD) || GetActiveWindow() 
            ? SWP_NOACTIVATE | SWP_NOZORDER | SWP_FRAMECHANGED 
            : SWP_NOZORDER | SWP_FRAMECHANGED; 
to 
        swFlag = ((wndPtr->dwStyle & WS_CHILD) || GetActiveWindow() ||  
            !(wndPtr->dwStyle & WS_VISIBLE)) 
            ? SWP_NOACTIVATE | SWP_NOZORDER | SWP_FRAMECHANGED 
            : SWP_NOZORDER | SWP_FRAMECHANGED; 
fixed it. 

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list