diff options
author | marc_culler <marc.culler@gmail.com> | 2020-07-18 16:53:31 (GMT) |
---|---|---|
committer | marc_culler <marc.culler@gmail.com> | 2020-07-18 16:53:31 (GMT) |
commit | b63b41199525b0e3e0e95f65e6991f75f8e31dd5 (patch) | |
tree | 40c8cd9613fe3160eb087628d192d6ee40a35487 /macosx/tkMacOSXEmbed.c | |
parent | 451fa4203bff3f5e6a0ab5028f900823174b4c83 (diff) | |
parent | 132c939d5ab36c6a55d7bc9e1692fd981c9a88ca (diff) | |
download | tk-b63b41199525b0e3e0e95f65e6991f75f8e31dd5.zip tk-b63b41199525b0e3e0e95f65e6991f75f8e31dd5.tar.gz tk-b63b41199525b0e3e0e95f65e6991f75f8e31dd5.tar.bz2 |
Provide better control over how and when [NSView drawRect:] is called.
Diffstat (limited to 'macosx/tkMacOSXEmbed.c')
-rw-r--r-- | macosx/tkMacOSXEmbed.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/macosx/tkMacOSXEmbed.c b/macosx/tkMacOSXEmbed.c index 6c4ac1f..e58cdd0 100644 --- a/macosx/tkMacOSXEmbed.c +++ b/macosx/tkMacOSXEmbed.c @@ -1049,9 +1049,7 @@ EmbedGeometryRequest( */ Tk_GeometryRequest((Tk_Window) winPtr, width, height); - while (Tcl_DoOneEvent(TCL_IDLE_EVENTS)) { - /* Empty loop body. */ - } + while (Tcl_DoOneEvent(TCL_IDLE_EVENTS|TCL_TIMER_EVENTS|TCL_DONT_WAIT)) {} if ((winPtr->changes.width != width) || (winPtr->changes.height != height)) { EmbedSendConfigure(containerPtr); |