unfortunately injecting X11 mouse events doesn't seem to work
not only that but the framework becomes unresponsive
possible this is due to the mouse click giving some other (hidden) window the focus, I'm going to iterate through window titles and see if I can find which I think is the framework window and give that focus first....
anyone else got any equally mad ideas