Here's the fact:
- we're using mozplugger and <embed> to get applications embedded for now
- but we can't handle popup window, quit from applications or
application started by xterm
- we need a way to listen CreateNotify / DestroyNotify event
- and only window manager can do that!
- when the browser get that signal, add an <embed> tag with an id of the window id, and reparent it
- while the window manager get
DestroyNotifyevent, remove that
corresponding <embed> tag
That's for now. Stay tuned.