From a340aec4a899aab5027a28f058970604a052f696 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Wed, 26 Sep 2012 22:36:20 +0200 Subject: [PATCH] fix compilation with xinerama disabled --- dunst.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dunst.c b/dunst.c index 5ae33e0..401db54 100644 --- a/dunst.c +++ b/dunst.c @@ -1175,6 +1175,7 @@ Window get_focused_window(void) return focused; } +#ifdef XINERAMA int select_screen(XineramaScreenInfo * info, int info_len) { if (f_mode == FOLLOW_NONE) { @@ -1220,6 +1221,7 @@ int select_screen(XineramaScreenInfo * info, int info_len) return scr.scr; } } +#endif void update_screen_info() {