############################################################################### # CURRENT TRUNK (9.1.a1 -> 9.1.a2) * Tk_Init -> Initialize -> TkCreateFrame -> Schedule MapFrame for execution at idle time | -> TkpInit * Updates idletasks: executes scheduled MapFrame synchronously ---------- * Schedule showRootWindow for execution at idle time | | * Evaluate script file, which may do [wm withdraw .], setting the root window in state withdrawn. | | Idle tasks: | | ------------------------------------------------------------------------------------------------------ | v * MapFrame -> Tk_MapWindow -> TkWmMapWindow * Set TK_MAPPED flag in winPtr->flags, which determines result of Tk_IsMapped * Calls XMapWindow * Generates/services MapNotify event * showRootWindow -> makeKeyAndOrderFront (if window is in state normal. This is foregone if the script file has withdrawn the root window.) ############################################################################### # BUGFIX BRANCH A (bug-591829e948-A) * Tk_Init -> Initialize -> TkCreateFrame -> Schedule MapFrame for execution at idle time | -> TkpInit * Evaluate script file, which may do [wm withdraw .], setting the root window in state withdrawn. Idle tasks: * MapFrame -> Tk_MapWindow -> TkWmMapWindow * Set TK_MAPPED flag in winPtr->flags, which determines result of Tk_IsMapped * Calls XMapWindow -> makeKeyAndOrderFront (if window is in state normal. This is foregone if the script file has withdrawn the root window.) * Generates/services MapNotify event