DirtyPixmapsForImage() is only available when we build with X

SVN revision: 8971
This commit is contained in:
Tilman Sauerbeck 2004-02-15 01:38:39 +00:00
parent e22d481087
commit f234855e8d
2 changed files with 6 additions and 0 deletions

View File

@ -1050,7 +1050,10 @@ imlib_image_set_border(Imlib_Border * border)
im->border.right = border->right;
im->border.top = border->top;
im->border.bottom = border->bottom;
#ifndef X_DISPLAY_MISSING
__imlib_DirtyPixmapsForImage(im);
#endif
}
void

View File

@ -1267,8 +1267,11 @@ void
__imlib_DirtyImage(ImlibImage * im)
{
SET_FLAG(im->flags, F_INVALID);
#ifndef X_DISPLAY_MISSING
/* and dirty all pixmaps generated from it */
__imlib_DirtyPixmapsForImage(im);
#endif
}
void