summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-05-07 20:05:38 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2019-05-07 20:35:44 -0400
commitb7a87ccb07f816e7b9579d91bd66552e86ef0e8e (patch)
tree93d6e0df675d58317a819bed3d4656da9ad4e6ba /specs
parentadf962f3b2c4539e555bfda600d34b63c9e5e002 (diff)
add a note pointing out the change in design
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'specs')
-rw-r--r--specs/CH07.xml17
1 files changed, 15 insertions, 2 deletions
diff --git a/specs/CH07.xml b/specs/CH07.xml
index 09d4dbc..7eefd04 100644
--- a/specs/CH07.xml
+++ b/specs/CH07.xml
@@ -2449,8 +2449,21 @@ and
<para>
Applications can provide their own version of this loop,
which tests some global termination flag or tests that the number
-of top-level widgets is larger than zero before circling back to the call to
-<xref linkend='XtAppNextEvent' xrefstyle='select: title'/>.
+of top-level widgets is larger than zero before
+circling back for the next event.
+</para>
+
+<para>
+The design of
+<xref linkend='XtAppMainLoop' xrefstyle='select: title'/>
+has changed since Release 6.
+Originally it looped over calls to
+<xref linkend='XtAppNextEvent' xrefstyle='select: title'/>,
+and
+<xref linkend='XtDispatchEvent' xrefstyle='select: title'/>,
+but because the latter returns only after an X event
+(not for timers, signals, inputs),
+it was modified to allow any type of event to break out of the loop.
</para>
</sect1>