Carsten Haitzler <[EMAIL PROTECTED]> [2004-08-23 10:43]: > > the subject sucks, couldn't think of anything better, sorry :) > > > > AFAIK, Ecore X users should *not* need to know the value of > > DefaulRootWindow(...), since all the window handling functions provide > > the "root window fallback" (if the passed window is zero, use the root > > window instead). > > > > Now basically, this works nicely, but there's a problem with the event > > structures. Imagine an Ecore_X_Event_Mouse_Button_Down event occurs on > > the root window: > > > > The window variable in the event structure will contain the *real* value > > of the default root window, not zero. > > > > So if I want to check for events on the root window, I still need to > > know the value of DefaultRootWindow(...), I cannot just check for zero. > > > > Should this issue be addressed? > > > > I'd just check whether event.window equals our root window, if the check > > succeeds, replace it with zero. > > > > Comments? :) > > here's the problem. you DO need to know root window values as in multihead (NOT > xinerama) you have multiple root windows. sure - there's a default root, but you > need to know all. :)
Mmmmh yeah, okay. IMHO this makes the default root fallback kinda useless, though ;) -- Regards, Tilman ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
