1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00

(x_term_init): Don't use initializer for null_bits.

(XTread_socket) <KeyPress>: Call XFilterEvent.
This commit is contained in:
Richard M. Stallman 1997-07-10 02:13:26 +00:00
parent b56822304a
commit 5d7cc324ad

View file

@ -4135,6 +4135,10 @@ XTread_socket (sd, bufp, numchars, expected)
#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 @@ x_term_init (display_name, xrm_option, resource_name)
dpyinfo->connection = connection;
{
char null_bits[] = { 0x00 };
char null_bits[1];
null_bits[0] = 0x00;
dpyinfo->null_pixel
= XCreatePixmapFromBitmapData (dpyinfo->display, dpyinfo->root_window,