# HG changeset patch # User Karl Heuer # Date 836780430 0 # Node ID de5c3eda52fc2d5d28ef7570c5f6f5a1cccd0e3f # Parent 909056c81fcf019b751e6f46e4168af2b6b0a3bb Undo previous change. diff -r 909056c81fcf -r de5c3eda52fc lwlib/lwlib-Xm.c --- a/lwlib/lwlib-Xm.c Sun Jul 07 22:58:51 1996 +0000 +++ b/lwlib/lwlib-Xm.c Sun Jul 07 23:00:30 1996 +0000 @@ -119,18 +119,6 @@ } Boolean -lw_motif_menu_related_event_p (event) - XEvent event; -{ - Widget widget = XtWindowToWidget (event.xkey.display,event.xkey.window); - WidgetClass class = XtClass (widget); - return - class == xmMainWindowWidgetClass - || class == xmRowColumnWidgetClass - || class == xmMenuShellWidgetClass; -} - -Boolean lw_motif_widget_p (widget) Widget widget; { diff -r 909056c81fcf -r de5c3eda52fc lwlib/lwlib.c --- a/lwlib/lwlib.c Sun Jul 07 22:58:51 1996 +0000 +++ b/lwlib/lwlib.c Sun Jul 07 23:00:30 1996 +0000 @@ -1379,16 +1379,3 @@ xm_manage_resizing (w, flag); #endif } - -/* Check to see if event should be ignored by Emacs */ -Boolean -lw_toolkit_related_event_p (event) - XEvent *event; -{ -#if defined (USE_MOTIF) - return lw_motif_menu_related_event_p (event); -#else - return False; -#endif -} - diff -r 909056c81fcf -r de5c3eda52fc lwlib/lwlib.h --- a/lwlib/lwlib.h Sun Jul 07 22:58:51 1996 +0000 +++ b/lwlib/lwlib.h Sun Jul 07 23:00:30 1996 +0000 @@ -119,7 +119,4 @@ Widget menubar, Widget work_area */); -/* Check to see if event should be ignored by Emacs */ -Boolean lw_toolkit_related_event_p (/* XEvent event */); - #endif /* LWLIB_H */