summaryrefslogtreecommitdiffstats
path: root/x11vnc/xinerama.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/xinerama.c')
-rw-r--r--x11vnc/xinerama.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c
index 3f8ed84..70445c9 100644
--- a/x11vnc/xinerama.c
+++ b/x11vnc/xinerama.c
@@ -331,9 +331,11 @@ void check_xinerama_clip(void) {
static void initialize_xinerama (void) {
#if !LIBVNCSERVER_HAVE_LIBXINERAMA
- rfbLog("Xinerama: Library libXinerama is not available to determine\n");
- rfbLog("Xinerama: the head geometries, consider using -blackout\n");
- rfbLog("Xinerama: if the screen is non-rectangular.\n");
+ if (!raw_fb_str) {
+ rfbLog("Xinerama: Library libXinerama is not available to determine\n");
+ rfbLog("Xinerama: the head geometries, consider using -blackout\n");
+ rfbLog("Xinerama: if the screen is non-rectangular.\n");
+ }
#else
XineramaScreenInfo *sc, *xineramas;
sraRegionPtr black_region, tmp_region;