How to catch mouse events in rdesktop.
I am working on rdesktop project. My project is to set up a write/copy protected session in rdesktop. That is the client(rdesktop user) can only view the contents of the server(host system). The client is not permitted to change or copy the contents of the server system.
OS: Ubuntu 10.04
Softwares used: rdesktop-1.6.0[at client computer]
Xrdp-0.4.2 [at server computer]
For doing the project, I need to trap certain mouse events(ie the copy, cut, paste options in the right click). For that I need to know how rdesktop handles the mouse events.
To trap the mouse events which part of code that I need to modify rdesktop/xrdp.