summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-24 13:52:42 +0100
committerraveit65 <[email protected]>2021-03-18 22:41:28 +0100
commit880f50be8abe386c27305351f1f47a0fc30780a3 (patch)
tree6d5b0d4cad518d8ef13ddf2cfdd761680e0ce21b
parentd9903e20a770e024d88250b36424054b0bc43a38 (diff)
downloadmarco-880f50be8abe386c27305351f1f47a0fc30780a3.tar.bz2
marco-880f50be8abe386c27305351f1f47a0fc30780a3.tar.xz
bell: Unused static function 'bell_flash_screen'
-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.