Comment 7 for bug 1350973

Revision history for this message
Alexandre Magno (alexandre-mbm) wrote : Re: More compatibility with the UltraVNC function "Toggle Remote Input and Remote Blank Monitor (On/Off)"

The answer is in the lines 4781-4792:

bool ClientConnection::SendServerInput(BOOL enabled)
{
    rfbSetServerInputMsg sim;
    int len = 0;

    sim.type = rfbSetServerInput;
    sim.status = enabled;

    WriteExact((char*)&sim, sz_rfbSetServerInputMsg, rfbSetServerInput);

    return true;
}