On Sun, 22 Aug 2004 19:34:06 +0200 Tilman Sauerbeck <[EMAIL PROTECTED]>
babbled:

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

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. :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


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