]> git.sur5r.net Git - i3/i3lock/blobdiff - unlock_indicator.c
document the dependency on libxcb-xinerama
[i3/i3lock] / unlock_indicator.c
index bd61881cc8dc1c7061b28010edc4d30fbbeea0f0..1775c15495ae662b467bbf5bc8847360bcd111b8 100644 (file)
@@ -47,8 +47,11 @@ extern uint32_t last_resolution[2];
 /* Whether the unlock indicator is enabled (defaults to true). */
 extern bool unlock_indicator;
 
+#ifndef NOLIBCAIRO
 /* A Cairo surface containing the specified image (-i), if any. */
 extern cairo_surface_t *img;
+#endif
+
 /* Whether the image should be tiled. */
 extern bool tile;
 /* The background color to use (in hex). */