I don't know to interpret C++ code but seems that the actions are in:

Line 6741:
  case ID_DINPUT:

Or line 6876:
  case ID_VIEWONLYTOGGLE:

I am assuming it is in (from) this first block refered above. Beacuse the line 
854:
  buttonmap=IDB_BITMAPlx;

Considering this, it is especially important the following lines in
"ultravnc-code/UltraVNC Project
Root/UltraVNC/vncviewer/ClientConnection.cpp":

5412:
    m_remote_mouse_disable = (value == rfbServerState_Disabled) ? true : false;

8031-8046:
    if (LOWORD(wParam) == ID_BUTTON_DINPUT )
    {
            if (_this->m_remote_mouse_disable)
            {
                    _this->m_remote_mouse_disable=false;
                    
SendMessage(parent,WM_SYSCOMMAND,(WPARAM)ID_INPUT,(LPARAM)0);
                    SendMessage(parent,WM_SIZE,(WPARAM)ID_DINPUT,(LPARAM)0);
            }
            else
            {
                    _this->m_remote_mouse_disable=true;
                    
SendMessage(parent,WM_SYSCOMMAND,(WPARAM)ID_DINPUT,(LPARAM)0);
                    SendMessage(parent,WM_SIZE,(WPARAM)ID_DINPUT,(LPARAM)0);
            }
            return 0;
    }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1350973

Title:
  More compatibility with the UltraVNC function "Toggle Remote Input and
  Remote Blank Monitor (On/Off)"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vinagre/+bug/1350973/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to