24apr93 menu.c box.c scene.c 6jun93 menu.c In the RSL browser application, where empty pulldown menu bodies are used, there was a problem that was evidently due to this. The problem boiled down to the following line (originally line 344) blowing up in X11-inter.c:GetRelative: XTranslateCoordinates( _world->display(), (Window)canvas->id, (Window)w->canvas->id, x, ymax - y, &rx, &ry, &child ); The specific cause of the problem is that canvas is nil. This occured when GetRelative was called from Menu::Close, when the menu has an empty body. To avoid the problem, the following guard was put around the call to GetRelative in Menu::Close if (action->canvas != nil) This specifically avoids calling GetRelative with a null canvas that will subsequently cause GetRelative to blow up. The details of how action is being used here are not at all clear, but the fix does correct the specific problem in the rbrowse application, and the fix seems to be otherwise appropriate. 26oc95 rubrect.c Added GetTrackAngle to return total number of degrees moved during a RotatingRect::Track. Added computation at end of Track function to accumulate total angle.