# HG changeset patch # User Gerd Moellmann # Date 962797175 0 # Node ID b20d72b7aa4b92e2a792bc79be2c5781c3d18c4f # Parent 7249274abdec192473b4ee98ebd3ab90b9cc3299 (clear_glyph_row): Add debug code in #if 0. diff -r 7249274abdec -r b20d72b7aa4b src/dispnew.c --- a/src/dispnew.c Wed Jul 05 11:39:10 2000 +0000 +++ b/src/dispnew.c Wed Jul 05 11:39:35 2000 +0000 @@ -990,6 +990,16 @@ row->glyphs[TEXT_AREA] = p[TEXT_AREA]; row->glyphs[RIGHT_MARGIN_AREA] = p[RIGHT_MARGIN_AREA]; row->glyphs[LAST_AREA] = p[LAST_AREA]; + +#if 0 /* At some point, some bit-fields of struct glyph were not set, + which made glyphs unequal when compared with GLYPH_EQUAL_P. + Redisplay outputs such glyphs, and flickering effects were + the result. This also depended on the contents of memory + returned by xmalloc. If flickering happens again, activate + the code below If the flickering is gone with that, chances + are that the flickering has the same reason as here. */ + bzero (p[0], (char *) p[LAST_AREA] - (char *) p[0]); +#endif }