forked from old/legacy-imlib2
DirtyPixmapsForImage() is only available when we build with X
SVN revision: 8971
This commit is contained in:
parent
e22d481087
commit
f234855e8d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue