From 0d7ed720123a8df22d6a690efdb98976d14c82b5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 7 Jul 1996 23:00:30 +0000 Subject: [PATCH] Undo previous change. --- lwlib/lwlib-Xm.c | 12 ------------ lwlib/lwlib.c | 13 ------------- lwlib/lwlib.h | 3 --- 3 files changed, 28 deletions(-) diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 5df98c1d684..57e4b4a2ca5 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -118,18 +118,6 @@ first_child (widget) return ((CompositeWidget)widget)->composite.children [0]; } -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 --git a/lwlib/lwlib.c b/lwlib/lwlib.c index 9dea80131ed..aea3c3b87ca 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c @@ -1379,16 +1379,3 @@ lw_allow_resizing (w, flag) 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 --git a/lwlib/lwlib.h b/lwlib/lwlib.h index 8b37cdbb005..6bf26fe23c4 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -119,7 +119,4 @@ void lw_set_main_areas (/* Widget parent, 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 */ -- 2.39.2