summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/bell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/bell.c b/src/core/bell.c
index 107933ef..ce4e6132 100644
--- a/src/core/bell.c
+++ b/src/core/bell.c
@@ -56,6 +56,7 @@
#include "prefs.h"
#include <canberra-gtk.h>
+#ifdef HAVE_XKB
/**
* Flashes one entire screen. This is done by making a window the size of the
* whole screen (or reusing the old one, if it's still around), mapping it,
@@ -135,6 +136,7 @@ bell_flash_screen (MetaDisplay *display,
meta_display_increment_focus_sentinel (display);
XFlush (display->xdisplay);
}
+#endif /* HAVE_XKB */
/**
* Flashes one screen, or all screens, in response to a bell event.