From: Miles Bader Date: Thu, 4 Jul 1996 05:50:07 +0000 (+0000) Subject: (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events. X-Git-Tag: emacs-19.34~259 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e43e01452fd6ea0683955f7f8301c11affa1bed;p=emacs.git (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events. --- diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index aea3c3b87ca..9dea80131ed 100644 --- a/lwlib/lwlib.c +++ b/lwlib/lwlib.c @@ -1379,3 +1379,16 @@ 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 +} +