summaryrefslogtreecommitdiff
path: root/ace/XtReactor.cpp
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-31 17:30:14 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-31 17:30:14 +0000
commitb376643db86f7334b88567077f46bdf6392b0180 (patch)
treee4ec197fd09672c6d8ae4e928494c9200b6cbc6c /ace/XtReactor.cpp
parentc9b4a0b5e3db98719c61049ebd94817865403667 (diff)
downloadATCD-b376643db86f7334b88567077f46bdf6392b0180.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/XtReactor.cpp')
-rw-r--r--ace/XtReactor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ace/XtReactor.cpp b/ace/XtReactor.cpp
index da85cb18439..e2d4430f7bf 100644
--- a/ace/XtReactor.cpp
+++ b/ace/XtReactor.cpp
@@ -168,6 +168,9 @@ ACE_XtReactor::XtWaitForMultipleEvents (int width,
// Wait for something to happen.
::XtAppProcessEvent (context_, XtIMAll);
+ // Reset the width, in case it changed during the upcalls.
+ width = this->handler_rep_.max_handlep1 ();
+
// Now actually read the result needed by the <Select_Reactor> using
// <select>.
return ACE_OS::select (width,