Commit 0e43e014 authored by Miles Bader's avatar Miles Bader
Browse files

(lw_toolkit_related_event_p): A predicate to identify toolkit-specific events.

parent 7f76dcc0
......@@ -1379,3 +1379,16 @@ lw_allow_resizing (w, flag)
xm_manage_resizing (w, flag);
/* Check to see if event should be ignored by Emacs */
lw_toolkit_related_event_p (event)
XEvent *event;
#if defined (USE_MOTIF)
return lw_motif_menu_related_event_p (event);
return False;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment