summaryrefslogtreecommitdiffstats
path: root/x11vnc/xinerama.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2010-04-09 20:09:15 -0400
committerrunge <runge@karlrunge.com>2010-04-09 20:09:15 -0400
commit2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204 (patch)
tree7da693c36f06f4e16e8bc2b030c54b67f01d8671 /x11vnc/xinerama.c
parent5c53ccbbe99dbf098dbb396a65b487f08315d825 (diff)
downloadlibvncserver-2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204.zip
libvncserver-2a8ba97ec5b0f7fbfcfc8adab6732a95e95c7204.tar.gz
x11vnc: exit(1) for -connect_or_exit failure, quiet query mode for grab_state, pointer_pos, etc. ipv6 support. STUNNEL_LISTEN for particular interface. -input_eagerly in addition to -allinput. quiet Xinerama message.
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;
OpenPOWER on IntegriCloud