On 1/8/06, Alex Lau <[EMAIL PROTECTED]> wrote: > Denis Oliver Kropp wrote: > > Mike Emmel wrote: > >> While your at it :) > >> > >> Gdk has two methods called > >> gdk_window_set_keep_above > >> gdk_window_set_keep_below > > On top of this two function, I did try to add some new api on directfb.h > ( my version ) e.g. IDirectFBWindow_Maximize .. > I think this is not a good way to handle it .... and I'm thinking maybe > extending unique for doing the same thing, but then I need to import > unique in gdkdfb in order to make that work... > either way we need extra api for it to work, which is the direction you > are expecting?
Don't implement or depend on the gdk api we need a similar pure directfb DirectfbWM->SetKeepAbove(DirectfbWM wm,IDirectFBWindow bottom,IDirectFBWindow top); Or something similar. You need a new abstract interfaces I think for window managers. Denis can help here. > >> > >> What there for is to prevent a dialog or important window from being > >> hidden > >> by its parent window. The semantics are different from the concept of > >> windows in multiple layers so if we really want to support this > >> correctly it needs to be done in the window manager. The other issue > >> is drag and drop. > >> Maybe Denis can comment on these issues ? > >> > >> Just wanted to bring this up since it looks like your going to be > >> mucking around quite a bit with unique. > > > > Yes, I'd like to add much more desktop suitable features with Unique. > > > :) yeah me too!! I think Mike get a point is moving people toward one > direction one step at a time, in order for people to start building > directfb way, we need more user. And having a min set of application > that allow some normal daily operation will able to make a distribution > to live e.g. email, broswer, im and term > with gdkdfb I move some gtk application to directfb very quickly, even > it is not the best solution, but at time when people used to not having > X protocol for simple light and small desktop system, I think more > application will be automagically moving toward LiTE and directfb native > porting. > > > But to use them there should be some new public interfaces to keep the > > IDirectFBWindow and others clean. > > > > Drag'n'Drop might be provided by another new interface, implemented > > using Unique's WM library, that already exists. > > > > One extra question, for mouse motion..since X and Y is seperated... my > window moving become ZigZag down the line. Is there any way to fix that? > > Thanks > > AvengerMoJo > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
