# HG changeset patch # User Richard M. Stallman # Date 862558027 0 # Node ID 742a57e66f7db38453f1f01bbda254e77bde3976 # Parent f043ffdbc80deae5155d7c346ad56c2766ce7c79 (pop_up_menu): Update the call to x_catch_errors. diff -r f043ffdbc80d -r 742a57e66f7d lwlib/xlwmenu.c --- a/lwlib/xlwmenu.c Fri May 02 07:26:39 1997 +0000 +++ b/lwlib/xlwmenu.c Fri May 02 07:27:07 1997 +0000 @@ -1535,6 +1535,7 @@ int borderwidth = mw->menu.shadow_thickness; Screen* screen = XtScreen (mw); Display *display = XtDisplay (mw); + int count; next_release_must_exit = 0; @@ -1579,7 +1580,7 @@ } #ifdef emacs - x_catch_errors (display); + count = x_catch_errors (display); #endif XtGrabPointer ((Widget)mw, False, (PointerMotionMask @@ -1596,7 +1597,7 @@ pointer_grabbed = 0; XtUngrabPointer ((Widget)mw, event->time); } - x_uncatch_errors (display); + x_uncatch_errors (display, count); #endif handle_motion_event (mw, (XMotionEvent*)event);