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
commit085de2186249e0ee6403a9bdad5bfc329875fc80 (patch)
treee4ec197fd09672c6d8ae4e928494c9200b6cbc6c /ace/XtReactor.cpp
parent793498eba09f15c3fcbd10e17fb662944eaaee35 (diff)
downloadATCD-085de2186249e0ee6403a9bdad5bfc329875fc80.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,