Commit 0d7ed720 authored by Karl Heuer's avatar Karl Heuer
Browse files

Undo previous change.

parent aaca4aca
......@@ -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;
......
......@@ -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
}
......@@ -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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment