summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Woelders <kim@woelders.dk>2020-07-28 19:57:11 +0200
committerKim Woelders <kim@woelders.dk>2020-07-28 19:57:11 +0200
commitea5da196cb5dc582ed02ba4c508ab55d8b259e82 (patch)
tree189c54d8da8af7190352566e81c52d026a9dc45a
parent06aa6d1bfce88d26176f5127b57c856fef493398 (diff)
downloadimlib2-ea5da196cb5dc582ed02ba4c508ab55d8b259e82.tar.gz
Fix build without X11
-rw-r--r--src/lib/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.c b/src/lib/image.c
index a2425ad..ad25d51 100644
--- a/src/lib/image.c
+++ b/src/lib/image.c
@@ -1004,8 +1004,10 @@ void
__imlib_DirtyImage(ImlibImage * im)
{
SET_FLAG(im->flags, F_INVALID);
+#ifdef BUILD_X11
/* and dirty all pixmaps generated from it */
__imlib_DirtyPixmapsForImage(im);
+#endif
}
void