Mercurial > emacs
changeset 18705:c4f2eab8e736
(x_term_init): Don't use initializer for null_bits.
(XTread_socket) <KeyPress>: Call XFilterEvent.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 10 Jul 1997 02:13:26 +0000 |
parents | 259f416a8485 |
children | 4af0aa969bbe |
files | src/xterm.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Thu Jul 10 01:41:38 1997 +0000 +++ b/src/xterm.c Thu Jul 10 02:13:26 1997 +0000 @@ -4135,6 +4135,10 @@ #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, @@ -6916,7 +6920,9 @@ dpyinfo->connection = connection; { - char null_bits[] = { 0x00 }; + char null_bits[1]; + + null_bits[0] = 0x00; dpyinfo->null_pixel = XCreatePixmapFromBitmapData (dpyinfo->display, dpyinfo->root_window,