Commit c8bcd18a authored by Chong Yidong's avatar Chong Yidong
Browse files

(x_make_gc): Don't allocate stipple member for gc_values; it is not

even used.
parent 8a62c470
......@@ -2942,14 +2942,10 @@ x_make_gc (f)
gc_values.foreground = FRAME_BACKGROUND_PIXEL (f);
gc_values.background = f->output_data.x->cursor_pixel;
gc_values.fill_style = FillOpaqueStippled;
gc_values.stipple
= XCreateBitmapFromData (FRAME_X_DISPLAY (f),
FRAME_X_DISPLAY_INFO (f)->root_window,
cursor_bits, 16, 16);
f->output_data.x->cursor_gc
= XCreateGC (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
(GCForeground | GCBackground
| GCFillStyle /* | GCStipple */ | GCLineWidth),
| GCFillStyle | GCLineWidth),
&gc_values);
/* Reliefs. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment