Commits

Jeff Sparkes  committed 0208213

Fill bar-cursor rectangle.

(XLIKE_output_blank): Fill bar cursor rectangle. Use
cairo_destroy.

  • Participants
  • Parent commits 331928e

Comments (0)

Files changed (2)

File src/ChangeLog.GTK

 
 	* redisplay-gtk.c (XLIKE_output_blank): Copy here, convert to
 	cairo.
+	(XLIKE_output_blank): Fill bar cursor rectangle.  Use
+	cairo_destroy.
 
 	* redisplay-x.c (XLIKE_output_blank): Move here from
 	redisplay-xlike-inc.c.

File src/redisplay-gtk.c

 	    {
 	      int bar_width = EQ (bar_cursor_value, Qt) ? 1 : 2;
 
-	      gtk_draw_rectangle (cr, cursor_start, cursor_y,
+	      gtk_fill_rectangle (cr, cursor_start, cursor_y,
 				  bar_width, cursor_height);
 	      /*
 	      XLIKE_DRAW_LINE (dpy, x_win, gc, cursor_start + bar_width - 1,
 			      fi->width - 1, cursor_height - 1);
         }
     }
+  cairo_destroy (cr);
 }
 
 void