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!
- write a window manager using xcb, do nothing but a) open web browser in fullscreen, and b) send dbus signal through dbus-javascript bridge to the browser while getting
MapRequest
event - 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
DestroyNotify
event, remove that
corresponding <embed> tag
I've done about 50% of the window manager (haven't named it yet, any idea?), and 80% of the "touchweb" browser (based on webkit and javascript dbus bridge), we might eventually need our own NPAPI plugger (could be a stripped down version of mozplugger)
That's for now. Stay tuned.