changeset 101237:bcad6975ee7a

(x_make_gc): Don't allocate stipple member for gc_values; it is not even used.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 16 Jan 2009 15:10:28 +0000
parents 33b2514969f5
children 00558b6e5d57
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri Jan 16 15:10:16 2009 +0000
+++ b/src/xfns.c	Fri Jan 16 15:10:28 2009 +0000
@@ -2942,14 +2942,10 @@
   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.  */