Commit b40f815a authored by Miles Bader's avatar Miles Bader
Browse files

(XTread_socket): Use lw_tookit_related_event_p to avoid sending

toolkit-specific events to Emacs.
parent 0a5c0893
......@@ -3651,6 +3651,13 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
80, &keysym, &compose_status);
#endif
#ifdef USE_X_TOOLKIT
if (lw_toolkit_related_event_p (&event))
{
XtDispatchEvent (&event);
break;
}
#endif
orig_keysym = keysym;
if (numchars > 1)
......
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