The bug that haunts me...

http://bugzilla.gnome.org/show_bug.cgi?id=469278


The problem is Gdk is built on the notion of real subwindows we don't
have those yet in directfb. So we have no notion of embedding a window
into another.

You can get the window ids of  of two windows in two different processes and use

http://www.directfb.org/docs/DirectFB_Reference_1_1/IDirectFBDisplayLayer_GetWindow.html

To get the interfaces.

Issues.

Only the  toplevel GdkDrawable are mapped to DIrectFB windows the rest
are lightweight.
DirectFB has no notion of embbedding we whould have to move/resize the
two windows in synch this is a wm issue.

In general I see no way to implement this in a sane manner using the
current api we really need to extend the concepts of windows but
Dennis and I have covered this in depth.
I know exactly what needs to be done its a matter of not having the
time/money to do it.

In the mean time if some one wants to make custom embedding work in
GTK what you need to do is fix any bugs in getting the window ids in
the current code it probably works just people don't realize they need
to walk the tree to get a DFBWindow id and they may have to map the
window.
Once you get the two window ids its your problem to keep them synced.

In general to make Gtk/DirectFB work completely we are going to have
create some interfaces that better mimic X11 and other systems to make
porting easier. Real child windows for example. I'd suggest that
problem is that Gtk is not really portable but..

I think that the current DirectFB api is fine for someone willing to
write a custom window manager and widget set using directfb if your
rolling your own then no problems. Porting or working with the
existing X11 software code base is more difficult than it should be.
Internally DirectFb is a lot more flexible and capable than the public
api exposes so its not a matter of ability.


Just some thoughts and maybe people will quit buggingme about gtksocket/plug.

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to