From 63b98dba790fa9835e970b8502d93258862a9373 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 5 Nov 2008 01:18:29 +0000 Subject: x11vnc: add zeroconf external helpers (avahi-publish and dns-sd). Alias -zeroconf. Close pipeinput_fh on exit. Kludge to make -solid work on MacOSX console. Attempt at cpp macros to disable newer libvncserver interfaces. --- x11vnc/xevents.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x11vnc/xevents.c') diff --git a/x11vnc/xevents.c b/x11vnc/xevents.c index b9c8988..d77b00d 100644 --- a/x11vnc/xevents.c +++ b/x11vnc/xevents.c @@ -1628,6 +1628,7 @@ void set_text_chat(rfbClientPtr cl, int len, char *txt) { rfbCloseClient(cl); return; } +#if LIBVNCSERVER_HAS_TEXTCHAT if (chat_window && chat_window_client == NULL && ulen == rfbTextChatOpen) { try_local_chat_window(); @@ -1662,6 +1663,7 @@ void set_text_chat(rfbClientPtr cl, int len, char *txt) { /* not clear what is going on WRT close and finished... */ rfbSendTextChatMessage(cl, rfbTextChatFinished, ""); } +#endif } int get_keyboard_led_state_hook(rfbScreenInfoPtr s) { -- cgit v1.1