Re: Opera will reparent me into...
Eirik Byrkjeflot Anonsen <[email protected]>
| Newsgroups | gmane.comp.web.opera.linux |
|---|---|
| Message-ID | <[email protected]> |
Kenneth Crudup <[email protected]> writes: > On Wed, 25 Feb 2009, Alvlin wrote: > >> but I really want to know what that message means. > > My guess, having seen it before: > > - Java starts out from the plugin wrapper creating an independent output > window of its own as the parent > > - Opera, since we want to see that window as part of the web-page we're > browsing, grabs the child Java window we see, and as written, reparents > that child to inside Opera, then minimizes the parent window and > puts that message in It is a good guess, but not quite right. The window is actually created by the opera process, but from java. Unfortunately, java does not support creating a java window as a child window of an arbitrary X11 window, so we create a top-level window instead. Which opera will search for (by the title) and reparent into the correct window inside opera. It's all fairly nasty, but java isn't designed for this kind of use. (To be precise, the java windowing toolkit (awt) isn't designed for this. Java itself was mostly well-behaved, if I remember correctly.) eirik -- Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux More lists: https://list.opera.com/mailman/listinfo/ Unsubscribe: mailto:[email protected]?subject=unsubscribe