fix compilation with xinerama disabled

This commit is contained in:
Sascha Kruse 2012-09-26 22:36:20 +02:00
parent 2c2f5d2d31
commit a340aec4a8

View File

@ -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()
{