Set krfb version string

pull/1/head
Timothy Pearson 10 years ago
parent ead285c723
commit 8b8dfa9704

@ -406,6 +406,8 @@ void RFBController::startServer(int inetdFd, bool xtestGrab)
rfbLogEnable(0); rfbLogEnable(0);
server = rfbGetScreen(0, 0, w, h, (bpp*8), 8, bpp); server = rfbGetScreen(0, 0, w, h, (bpp*8), 8, bpp);
rfbSetServerVersionIdentity(server, "krfb %s", KDE::versionString());
server->paddedWidthInBytes = framebufferImage->bytes_per_line; server->paddedWidthInBytes = framebufferImage->bytes_per_line;
server->serverFormat.bitsPerPixel = framebufferImage->bits_per_pixel; server->serverFormat.bitsPerPixel = framebufferImage->bits_per_pixel;

Loading…
Cancel
Save