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 Desktop
Packages, which is subscribed to vinagre in Ubuntu.
https://bugs.launchpad.net/bugs/1350973

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

Status in “vinagre” package in Ubuntu:
  New

Bug description:
  See image.

  The server gets a "big eye" as static screensaver.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to