Hi,

I need to implement an "Open URI" feature for a VNC x-server. The idea is that a Qt application running under the VNC x-server can communicate to the X-server the URI it wants to open, the X-server then needs to send the URI via the VNC (RFB) protocol and the VNC client can then open the URI (via ShellExecute on windows and e.g. xdg-open on Unix). I got all the parts working except the communication between the Qt application and the xvncserver.

What is the best way to do this?

My own thought was simply to have the x-server watch a property, say OPEN_URI, on the root window. Would that be the way to go? The realvnc-based code base I'm working with doesn't have any code that watches properties like this. Is there a way to snoop on PropertyNotify events?

Ideas and suggestions would be most welcome.

Thank you for your time.

Thomas

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to