Hi,
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? :)

-- 
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

Reply via email to