diff options
author | culler <culler> | 2019-05-15 16:55:50 (GMT) |
---|---|---|
committer | culler <culler> | 2019-05-15 16:55:50 (GMT) |
commit | ada461f65ebad984c9653f530723bd55a847e590 (patch) | |
tree | ce6ae843292ef4658da580f6648719b56701fd7e /macosx/tkMacOSXSubwindows.c | |
parent | 0be716f0f282bf6e937b7ad2a8beb171b51d1659 (diff) | |
download | tk-ada461f65ebad984c9653f530723bd55a847e590.zip tk-ada461f65ebad984c9653f530723bd55a847e590.tar.gz tk-ada461f65ebad984c9653f530723bd55a847e590.tar.bz2 |
fix bug [d1989fb7cf]: Root window appears before Tk_Mainloop is called.
Diffstat (limited to 'macosx/tkMacOSXSubwindows.c')
-rw-r--r-- | macosx/tkMacOSXSubwindows.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/macosx/tkMacOSXSubwindows.c b/macosx/tkMacOSXSubwindows.c index 21f40ce..2579892 100644 --- a/macosx/tkMacOSXSubwindows.c +++ b/macosx/tkMacOSXSubwindows.c @@ -168,15 +168,6 @@ XMapWindow( } else { [win orderFrontRegardless]; } - - /* - * In some cases the toplevel will not be drawn unless we process - * all pending events now. See ticket 56a1823c73. - */ - - [NSApp _lockAutoreleasePool]; - while (Tcl_DoOneEvent(TCL_WINDOW_EVENTS| TCL_DONT_WAIT)) {} - [NSApp _unlockAutoreleasePool]; } else { TkWindow *contWinPtr = TkpGetOtherWindow(winPtr); |