orca r4054 - in trunk: . src/orca



Author: joanied
Date: Mon Jul 21 17:11:44 2008
New Revision: 4054
URL: http://svn.gnome.org/viewvc/orca?rev=4054&view=rev

Log:
* src/orca/flat_review.py:
  Fix for bug #543496 - Problems with performing mouse clicks in
  Firefox.


Modified:
   trunk/ChangeLog
   trunk/src/orca/flat_review.py

Modified: trunk/src/orca/flat_review.py
==============================================================================
--- trunk/src/orca/flat_review.py	(original)
+++ trunk/src/orca/flat_review.py	Mon Jul 21 17:11:44 2008
@@ -1564,8 +1564,9 @@
             # handle toolkits that will offset the caret position to
             # the right if you click dead on center of a character.
             #
+            x = max(x, x + (width / 2) - 1)
             eventsynthesizer.clickPoint(x,
-                                        y + height/ 2,
+                                        y + height / 2,
                                         button)
         except:
             debug.printException(debug.LEVEL_SEVERE)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]