[FusionDev] Expo and mouse cursor position
Kristian Lyngstøl
kristian at bohemians.org
Fri Jul 27 14:47:10 CEST 2007
Currently there's a conflict between the cursor drawing in ezoom and expo.
Expo needs to know where the cursor is after the screen has been
transformed, and I see that it is able to do this even when ezoom is
active. To test, you can enable "draw scaled cursor" in ezoom but NOT
hide the original pointer, then enter expo and zoom in (fit to a
window for instance should work).
The location of the unscaled cursor will be correctly detected, even
if there is a screen transformation that expo is not responsible. My
ezoom cursor will not be correct.
What I want to do is see if I can use the same method for finding the
original position that expo use, to avoid the whole issue of screen
grabs. Basically, both expo and ezoom has to deal with "fake" input
redirection one way or another, and I don't think(hope) it's much of a
problem to get them to work together.
Could anyone give me a rough explanation of how expo does it's input
tricks? Or if what I'm saying even makes sense. (I only had a glance
at the code before I realized it would be much better to ask).
--
Regards,
Kristian
More information about the Dev
mailing list