[Bug 1233] New: - CreateWindow activates window to early

wine-bugs at winehq.com wine-bugs at winehq.com
Mon Jan 20 16:33:40 CST 2003


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

           Summary: CreateWindow activates window to early
           Product: Wine
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: wine-user
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: crazy at wi.rr.com


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.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1233>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list