changeset 15603:d0d30042bdc4

(lw_toolkit_related_event_p): A predicate to identify toolkit-specific events.
author Miles Bader <miles@gnu.org>
date Thu, 04 Jul 1996 05:50:07 +0000
parents 9aa89ea71d5b
children c2eb0b07acba
files lwlib/lwlib.c
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lwlib.c	Thu Jul 04 05:46:24 1996 +0000
+++ b/lwlib/lwlib.c	Thu Jul 04 05:50:07 1996 +0000
@@ -1379,3 +1379,16 @@
   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
+}
+