comparison src/glyphs-x.c @ 454:d7a9135ec789 r21-2-42

Import from CVS: tag r21-2-42
author cvs
date Mon, 13 Aug 2007 11:40:54 +0200
parents 98528da0b7fc
children 223736d75acb
comparison
equal deleted inserted replaced
453:270b05afd845 454:d7a9135ec789
2226 } 2226 }
2227 2227
2228 /* Possibly update the colors and font */ 2228 /* Possibly update the colors and font */
2229 if (IMAGE_INSTANCE_WIDGET_FACE_CHANGED (p) 2229 if (IMAGE_INSTANCE_WIDGET_FACE_CHANGED (p)
2230 || 2230 ||
2231 /* #### This is not sufficient because it will not cope with widgets
2232 that are not currently visible. Once redisplay has done the
2233 visible ones it will clear this flag so that when new ones
2234 become visible they will not be updated. */
2231 XFRAME (IMAGE_INSTANCE_FRAME (p))->faces_changed 2235 XFRAME (IMAGE_INSTANCE_FRAME (p))->faces_changed
2236 ||
2237 XFRAME (IMAGE_INSTANCE_FRAME (p))->frame_changed
2232 || 2238 ||
2233 IMAGE_INSTANCE_WIDGET_ITEMS_CHANGED (p)) 2239 IMAGE_INSTANCE_WIDGET_ITEMS_CHANGED (p))
2234 { 2240 {
2235 update_widget_face (wv, p, IMAGE_INSTANCE_FRAME (p)); 2241 update_widget_face (wv, p, IMAGE_INSTANCE_FRAME (p));
2236 } 2242 }