On Wed, 7 Feb 2007 19:30:01 -0500 "Zachary Goldberg" <[EMAIL PROTECTED]>
babbled:

> I just recently got evdev to work (yay) and have assigned some newly
> usable mouse buttons to some defined commands using E's mouse
> bindings.  I noticed that sometimes the commands would be called
> twice.  After some digging I found the issue:
> 
> When the mouse is inside a window, its called once (its in the border
> context).
> 
> When the mouse is on a desktop its in TWO contexts, zone and
> container.  I confirmed this with GDB, the mouse event handler is
> being called twice with the two different contexts.
> 
> I'm not sure how to go about fixing this, so im posting it here.  Also
> curious if anybody else is witnessing this behavior.

this is actually how the code works - e sets up an invisible rect object with
repeat events set - to capture events AND pass them on to anything below. zones
are subsets of containers, thus the click goes to the zone object then to the
container one below it.

> 
> Thanks,
> ZGold
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to