summaryrefslogtreecommitdiffstats
path: root/x11vnc/screen.c
diff options
context:
space:
mode:
authorsteven_carr <steven_carr>2006-05-04 19:19:13 +0000
committersteven_carr <steven_carr>2006-05-04 19:19:13 +0000
commit0d734ad8967eafab1fb058280a0db04e7470e569 (patch)
tree9e90c2eedda6bee6f5db4e177651df63730802ca /x11vnc/screen.c
parent2eded94f7b46a33a290da74cff8e8c8ff4bdbe77 (diff)
downloadlibvncserver-0d734ad8967eafab1fb058280a0db04e7470e569.zip
libvncserver-0d734ad8967eafab1fb058280a0db04e7470e569.tar.gz
Server Capability Encodings
rfbEncodingSupportedEncodings - What encodings are supported? rfbEncodingSupportedMessages - What message types are supported? rfbEncodingServerIdentity - What is the servers version string? ie: "x11vnc: 0.8.1 lastmod: 2006-04-25 (LibVNCServer 0.9pre)"
Diffstat (limited to 'x11vnc/screen.c')
-rw-r--r--x11vnc/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/screen.c b/x11vnc/screen.c
index 3eaeb87..e85f2f1 100644
--- a/x11vnc/screen.c
+++ b/x11vnc/screen.c
@@ -1966,6 +1966,8 @@ void initialize_screen(int *argc, char **argv, XImage *fb) {
screen->deferUpdateTime = defer_update;
}
+ rfbSetServerVersionIdentity(screen, "x11vnc: %s", lastmod);
+
rfbInitServer(screen);
if (use_openssl) {
OpenPOWER on IntegriCloud