mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Undo previous change.
This commit is contained in:
parent
aaca4aca35
commit
0d7ed72012
3 changed files with 0 additions and 28 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue