diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-02 07:27:07 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-02 07:27:07 +0000 |
commit | 5efb61c794b8a17b749adef4dcb9f0db7087b8fe (patch) | |
tree | c1681446f9871d5ea6d85358ce1839a79e0c6070 /lwlib/xlwmenu.c | |
parent | a7b0df0db4e5534c8d05efc6053b6d1116dee3f6 (diff) | |
download | emacs-5efb61c794b8a17b749adef4dcb9f0db7087b8fe.tar.gz |
(pop_up_menu): Update the call to x_catch_errors.
Diffstat (limited to 'lwlib/xlwmenu.c')
-rw-r--r-- | lwlib/xlwmenu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index 1e2c3103ac5..d80fa0118c5 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -1535,6 +1535,7 @@ pop_up_menu (mw, event) 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 @@ pop_up_menu (mw, event) } #ifdef emacs - x_catch_errors (display); + count = x_catch_errors (display); #endif XtGrabPointer ((Widget)mw, False, (PointerMotionMask @@ -1596,7 +1597,7 @@ pop_up_menu (mw, event) pointer_grabbed = 0; XtUngrabPointer ((Widget)mw, event->time); } - x_uncatch_errors (display); + x_uncatch_errors (display, count); #endif handle_motion_event (mw, (XMotionEvent*)event); |