]> git.eshelyaron.com Git - emacs.git/commitdiff
(lw_toolkit_related_event_p): A predicate to identify toolkit-specific events.
authorMiles Bader <miles@gnu.org>
Thu, 4 Jul 1996 05:50:07 +0000 (05:50 +0000)
committerMiles Bader <miles@gnu.org>
Thu, 4 Jul 1996 05:50:07 +0000 (05:50 +0000)
lwlib/lwlib.c

index aea3c3b87ca4bf17f39cce8edd2e05a197c5ec55..9dea80131ed36b72af255d37e8010b97baca6ebc 100644 (file)
@@ -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
+}
+