diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-12 15:44:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-01-12 15:44:00 -0600 |
commit | 8b8dfa9704e3238258bbf37d0353362d0606a7a5 (patch) | |
tree | 5bd922880f82fcda7c2793be86f1a5e54df83f2b | |
parent | ead285c723ee35f4ea8fe453e0406a651e34451a (diff) | |
download | tdenetwork-8b8dfa9704e3238258bbf37d0353362d0606a7a5.tar.gz tdenetwork-8b8dfa9704e3238258bbf37d0353362d0606a7a5.zip |
Set krfb version string
-rw-r--r-- | krfb/krfb/rfbcontroller.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/krfb/krfb/rfbcontroller.cc b/krfb/krfb/rfbcontroller.cc index c67134b9..e02253a2 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; |