• Owen Taylor's avatar
    Instead of drawing a background pixmap in with gdk_draw_pixmap(), set it · 6205bbbf
    Owen Taylor authored
    Wed Jan 20 13:06:51 1999  Owen Taylor  <otaylor@redhat.com>
    
    	* gtk/gtktext.[ch] (clear_[focus_]area): Instead of drawing
    	a background pixmap in with gdk_draw_pixmap(), set
    	it as a tile pixmap for a GC. This should speed
    	up things considerably and also will hide a bug
    	where text->first_onscreen_ver_pixel is being
    	corrupted, causing the bg pixmap drawing code to generate
    	graphics exposes.
    6205bbbf
gtktext.c 144 KB