How to make a Xul window get all input from another window?
I've thought about listen to the keypress and mouse events from开发者_如何转开发 the other window, but I don't know how to generate this event to my listener window.
Any idea how can I forward key and mouse events from a window to another?
--update
To change the focus of the current window would be an option. But it just don't work with onload="opener.focus();"
I guess you could set up functions in the child window and call functions in the parent window via window.opener. I guess in some way or another, you need to call a function in the parent, that seems like the simplest way.
精彩评论