(XTread_socket): Use lw_tookit_related_event_p to avoid sending
toolkit-specific events to Emacs.
This commit is contained in:
parent
0a5c0893bd
commit
b40f815a56
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue