Hi,

Hallvar Helleseth <[EMAIL PROTECTED]> writes:

> > perhaps an API to freeze and thaw the window stack would help?
> 
> I'm not sure what you mean by that. I've been playing around a little:
> I added a function to IDirectFBWindow: AddChild(thiz, win)
> then whenever thiz->Move(thiz, x, y) it also moves the child windows. 
> It only repaints once... (region from TL window to BR window). optionally
> it could repaint successivly the regions of each window.

> My window manager does window decorations by adding 4 windows around the
> real window. Moving the 5 windows seperatly with repainting inbetween
> isn't very optimal.

freeze would stop all window stack repainting until you thaw it again.
You could then freeze, move all five windows and thaw when they are
all in place.

> Works but not sure if it's the best solution...
> 
> I guess X must have something reasonable with regards to relating
> windows toghether?

well, they also have a reasonable amount of complexity and overhead
caused by the way they are doing it.

> I'm working on a window manager for DirectFB, but it's impossible to
> make it usefull the way DirectFB is right now. Is it not meant to be
> possible, or should I just start to creating a seperate library that
> wraps DirectFB. My goal is to have a desktop w/apps using DirectFB.

it would definitely help if you could propose an API that would fit
your needs.


Salut, Sven


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to