Hi,

The Gdk-directfb implementation is using GetSubsurface to create all
CHILD widgets ( button, etc ).

I was wondering what is the plan to deal with layered widgets ( i.e.
widgets that cover each other ) ? Currently this doesn't seem to work,
and some gtk code that works fine in X11 is not working with dfb. I
couldn't find the code implementing z-order for subsurfaces or
surfaces.

I tried to change the code to use CreateSurface or CreateWindow for
the childs - but so far I get the same problem, no layering works.

I also tried to pass DSCAPS_DEPTH ( I couldn't find any doc, but from
the code it looks to be related :-) when creating the window or shell
- however it allways crashes.

Is DSCAPS_DEPTH supposed to solve this problem or is it a wrong guess
? Do you have any example on how to use it ?

Also, looking at the sources I couldn't find where ( and how ) the
parent/child relation between surfaces and windows is implemented.

I would really appreciate any help or pointers ...

Costin


Reply via email to