summaryrefslogtreecommitdiffstats
path: root/generic/tclEvent.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-18 13:20:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-03-18 13:20:47 (GMT)
commit2b7eb65f53e75a84e02c3b5da96c45bbefc6ff8a (patch)
treec0a56c5b08444c8d0578589c44787c631d6e0307 /generic/tclEvent.c
parent260c7e595aabe7033cf46fc85835ebd6af3757a1 (diff)
downloadtcl-2b7eb65f53e75a84e02c3b5da96c45bbefc6ff8a.zip
tcl-2b7eb65f53e75a84e02c3b5da96c45bbefc6ff8a.tar.gz
tcl-2b7eb65f53e75a84e02c3b5da96c45bbefc6ff8a.tar.bz2
Suggested fix for [0221b993a1]: Tcl command [update idletasks] doesn't skip main loop in Tcl_DoOneEvent
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r--generic/tclEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c
index bf3be38..52cd351 100644
--- a/generic/tclEvent.c
+++ b/generic/tclEvent.c
@@ -1513,7 +1513,7 @@ Tcl_UpdateObjCmd(
}
switch ((enum updateOptionsEnum) optionIndex) {
case OPT_IDLETASKS:
- flags = TCL_WINDOW_EVENTS|TCL_IDLE_EVENTS|TCL_DONT_WAIT;
+ flags = TCL_IDLE_EVENTS|TCL_DONT_WAIT;
break;
default:
Tcl_Panic("Tcl_UpdateObjCmd: bad option index to UpdateOptions");