IF_DEBUG (x_check_font (s->f, s->font));
xgcv.graphics_exposures = False;
- mask = GCForeground | GCBackground | GCGraphicsExposures;
+ xgcv.line_width = 1;
+ mask = (GCForeground | GCBackground
+ | GCGraphicsExposures
+ | GCLineWidth);
if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc)
XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc,
xgcv.background = s->face->background;
xgcv.foreground = s->face->foreground;
xgcv.graphics_exposures = False;
- mask = GCForeground | GCBackground | GCGraphicsExposures;
+ xgcv.line_width = 1;
+
+ mask = (GCForeground | GCBackground
+ | GCGraphicsExposures
+ | GCLineWidth);
if (FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc)
XChangeGC (display, FRAME_DISPLAY_INFO (s->f)->scratch_cursor_gc,
else
xgcv.background = xgcv.foreground = f->output_data.x->cursor_pixel;
xgcv.graphics_exposures = False;
+ xgcv.line_width = 1;
+
+ mask |= GCLineWidth;
if (gc)
XChangeGC (dpy, gc, mask, &xgcv);