diff options
author | runge <runge> | 2006-12-29 07:21:37 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-29 07:21:37 +0000 |
commit | 833f06025fbd2fa8d4d83ccf8ab068c8060663de (patch) | |
tree | 1b20fdc2575d12b66e28d6e608dd54b3cacb2766 /x11vnc/util.c | |
parent | e4a397ed13a2c6eb9d2da7870165e7ecdc67f461 (diff) | |
download | libtdevnc-833f06025fbd2fa8d4d83ccf8ab068c8060663de.tar.gz libtdevnc-833f06025fbd2fa8d4d83ccf8ab068c8060663de.zip |
x11vnc -ncache on by default for beta test. fix -nofb & -rawfb modes.
Diffstat (limited to 'x11vnc/util.c')
-rw-r--r-- | x11vnc/util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/x11vnc/util.c b/x11vnc/util.c index 7b030d7..5ba621c 100644 --- a/x11vnc/util.c +++ b/x11vnc/util.c @@ -548,8 +548,8 @@ 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 + char *name = NULL; if (XFetchName(dpy, subwin, &name)) { if (name) { strncat(title, " ", MAXN - strlen(title)); @@ -557,8 +557,6 @@ char *choose_title(char *display) { free(name); } } -#else - if (!name) {} #endif /* NO_X11 */ } return title; |