# HG changeset patch # User Richard M. Stallman # Date 841299748 0 # Node ID 6ad9e8fee494a7e22f14e161bec20011590cac02 # Parent b741b3129c1b21f4abebdfc94428d4b5d82025c7 (XTread_socket): Call XFilterEvent on all events, if HAVE_X_I18N and FRAME_XIC nonzero. diff -r b741b3129c1b -r 6ad9e8fee494 src/xterm.c --- a/src/xterm.c Thu Aug 29 06:20:21 1996 +0000 +++ b/src/xterm.c Thu Aug 29 06:22:28 1996 +0000 @@ -3324,6 +3324,12 @@ #else XNextEvent (dpyinfo->display, &event); #endif +#ifdef HAVE_X_I18N + /* The necessity of the following line took me + a full work-day to decipher from the docs!! */ + if (FRAME_XIC (f) && XFilterEvent (&event, None)) + break; +#endif event_found = 1; switch (event.type) @@ -3667,10 +3673,6 @@ #ifdef HAVE_X_I18N if (FRAME_XIC (f)) { - /* The necessity of the following line took me - a full work-day to decipher from the docs!! */ - if (XFilterEvent (&event, None)) - break; nbytes = XmbLookupString (FRAME_XIC (f), &event.xkey, copy_buffer, 80, &keysym,