diff options
author | runge <runge> | 2006-07-18 00:40:00 +0000 |
---|---|---|
committer | runge <runge> | 2006-07-18 00:40:00 +0000 |
commit | 901729e3e04d13d0d7e701c6a6c014f4adc42ce6 (patch) | |
tree | 5ccae39a0740461dde0b2875d3b1e8398b6e1357 /x11vnc/util.c | |
parent | 6e2fa292297af38a12ab6a0bac1a2873b2fb289c (diff) | |
download | libtdevnc-901729e3e04d13d0d7e701c6a6c014f4adc42ce6.tar.gz libtdevnc-901729e3e04d13d0d7e701c6a6c014f4adc42ce6.zip |
x11vnc: enable --without-x builds for -rawfb only binaries.
Diffstat (limited to 'x11vnc/util.c')
-rw-r--r-- | x11vnc/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/util.c b/x11vnc/util.c index 2f9aa0f..15453b5 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -536,6 +536,7 @@ char *choose_title(char *display) { strncat(title, display, MAXN - strlen(title)); if (subwin && dpy && valid_window(subwin, NULL, 0)) { char *name = NULL; +#if !NO_X11 if (XFetchName(dpy, subwin, &name)) { if (name) { strncat(title, " ", MAXN - strlen(title)); @@ -543,6 +544,7 @@ char *choose_title(char *display) { free(name); } } +#endif /* NO_X11 */ } return title; } |