diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-07-07 23:00:30 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-07-07 23:00:30 +0000 |
commit | 856b2c8166b0e927ce4996fe33e23c50cfd758db (patch) | |
tree | 825387b781036a55c836b65bb26c5fb7bf7e5418 | |
parent | dfed67fd53aaa6bed272386061be39f899b28acf (diff) | |
download | emacs-856b2c8166b0e927ce4996fe33e23c50cfd758db.tar.gz |
Undo previous change.
-rw-r--r-- | lwlib/lwlib-Xm.c | 12 | ||||
-rw-r--r-- | lwlib/lwlib.c | 13 | ||||
-rw-r--r-- | lwlib/lwlib.h | 3 |
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 */ |