summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-12 21:44:00 (GMT)
committer Timothy Pearson <kb9vqf@pearsoncomputing.net>2015-01-12 21:44:00 (GMT)
commit8b8dfa9704e3238258bbf37d0353362d0606a7a5 (patch)
tree5bd922880f82fcda7c2793be86f1a5e54df83f2b
parentead285c723ee35f4ea8fe453e0406a651e34451a (diff)
downloadtdenetwork-8b8dfa97.zip
tdenetwork-8b8dfa97.tar.gz
Set krfb version string
-rw-r--r--krfb/krfb/rfbcontroller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/krfb/krfb/rfbcontroller.cc b/krfb/krfb/rfbcontroller.cc
index c67134b..e02253a 100644
--- a/krfb/krfb/rfbcontroller.cc
+++ b/krfb/krfb/rfbcontroller.cc
@@ -406,6 +406,8 @@ void RFBController::startServer(int inetdFd, bool xtestGrab)
rfbLogEnable(0);
server = rfbGetScreen(0, 0, w, h, (bpp*8), 8, bpp);
+ rfbSetServerVersionIdentity(server, "krfb %s", KDE::versionString());
+
server->paddedWidthInBytes = framebufferImage->bytes_per_line;
server->serverFormat.bitsPerPixel = framebufferImage->bits_per_pixel;