summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
Diffstat (limited to 'krfb')
-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 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;