Add and remove the vdagent interface as the vdagent
actually connects and disconnects. This means that we do not attempt to use agent mouse mode if there is no connected agent. It fixes a bug which would occur if an agent disconnected after session startup which would result in having no useful mouse.
Showing with 5 additions and 2 deletions