Revision: 3819 http://vexi.svn.sourceforge.net/vexi/?rev=3819&view=rev Author: clrg Date: 2010-03-19 15:54:47 +0000 (Fri, 19 Mar 2010)
Log Message: ----------- Minor fix - was possible in very specific circumstances to incorrectly invoke doubleclicks Modified Paths: -------------- trunk/core/org.vexi.core/src/org/vexi/core/Surface.java Modified: trunk/core/org.vexi.core/src/org/vexi/core/Surface.java =================================================================== --- trunk/core/org.vexi.core/src/org/vexi/core/Surface.java 2010-03-19 02:17:25 UTC (rev 3818) +++ trunk/core/org.vexi.core/src/org/vexi/core/Surface.java 2010-03-19 15:54:47 UTC (rev 3819) @@ -118,8 +118,8 @@ int last_press_x = Integer.MAX_VALUE; ///< the x-position of the mouse the last time a Press message was enqueued int last_press_y = Integer.MAX_VALUE; ///< the y-position of the mouse the last time a Press message was enqueued - static int lastClickButton = 0; ///< the last button to recieve a Click message; used for simulating DoubleClick's - static long lastClickTime = 0; ///< the last time a Click message was processed; used for simulating DoubleClick's + int lastClickButton = 0; ///< the last button to recieve a Click message; used for simulating DoubleClick's + long lastClickTime = 0; ///< the last time a Click message was processed; used for simulating DoubleClick's // Methods to be overridden by subclasses /////////////////////////////////////////////////////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn