From 0e43e01452fd6ea0683955f7f8301c11affa1bed Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 4 Jul 1996 05:50:07 +0000 Subject: (lw_toolkit_related_event_p): A predicate to identify toolkit-specific events. --- lwlib/lwlib.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lwlib') 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 +} + -- cgit v1.2.1