summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-07-07 23:00:30 +0000
committerKarl Heuer <kwzh@gnu.org>1996-07-07 23:00:30 +0000
commit0d7ed720123a8df22d6a690efdb98976d14c82b5 (patch)
treebc0b83b9d6242064ace9d23068fa0ac4c7e7f87f /lwlib
parentaaca4aca35da113499d0fa2270dd6b226831c74c (diff)
downloademacs-0d7ed720123a8df22d6a690efdb98976d14c82b5.tar.gz
Undo previous change.
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/lwlib-Xm.c12
-rw-r--r--lwlib/lwlib.c13
-rw-r--r--lwlib/lwlib.h3
3 files changed, 0 insertions, 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
@@ -119,18 +119,6 @@ first_child (widget)
}
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 */