From ea5da196cb5dc582ed02ba4c508ab55d8b259e82 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Tue, 28 Jul 2020 19:57:11 +0200 Subject: [PATCH] Fix build without X11 --- src/lib/image.c | 2 ++ 1 file changed, 2 insertions(+) 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