comparison src/xterm.c @ 53596:e3e8f1dcc895

* xterm.c (handle_one_xevent): Don't handle characters that are part of an old style (XLookupString) compose sequence.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 16 Jan 2004 10:21:54 +0000
parents 9a1b69cfa7be
children 0bb1ce3944cd
comparison
equal deleted inserted replaced
53595:7ea1b7196d49 53596:e3e8f1dcc895
6302 #else 6302 #else
6303 nbytes = XLookupString (&event.xkey, copy_bufptr, 6303 nbytes = XLookupString (&event.xkey, copy_bufptr,
6304 copy_bufsiz, &keysym, 6304 copy_bufsiz, &keysym,
6305 &compose_status); 6305 &compose_status);
6306 #endif 6306 #endif
6307
6308 /* If not using XIM/XIC, and a compose sequence is in progress,
6309 we break here. Otherwise, chars_matched is always 0. */
6310 if (compose_status.chars_matched > 0 && nbytes == 0)
6311 break;
6307 6312
6308 orig_keysym = keysym; 6313 orig_keysym = keysym;
6309 6314
6310 if (numchars > 1) 6315 if (numchars > 1)
6311 { 6316 {