Revision: 41305
http://brlcad.svn.sourceforge.net/brlcad/?rev=41305&view=rev
Author: bob1961
Date: 2010-11-09 16:10:50 +0000 (Tue, 09 Nov 2010)
Log Message:
-----------
Modified the default_mouse_bindings proc by replacing the previous hack,
related to bad mouse behavior on Mac OS 10.5, with a similar hack that let's
the user determine whether or not to use the provided hack by setting a
no_focus_hack variable in the .mgedrc file.
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/mged/bindings.tcl
Modified: brlcad/trunk/src/tclscripts/mged/bindings.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/mged/bindings.tcl 2010-11-09 16:02:19 UTC
(rev 41304)
+++ brlcad/trunk/src/tclscripts/mged/bindings.tcl 2010-11-09 16:10:50 UTC
(rev 41305)
@@ -273,6 +273,7 @@
}
proc default_mouse_bindings { w } {
+ global no_focus_hack
global transform
global tcl_platform
@@ -281,7 +282,7 @@
set osMajorVersion 0
}
- if {$::tcl_platform(os) == "Darwin" && $osMajorVersion == 9} {
+ if {[info exists no_focus_hack] && $no_focus_hack} {
bind $w <1> "winset $w; zoom 0.5; break"
bind $w <2> "winset $w; set tmpstr \[dm m %x %y\]; print_return_val
\$tmpstr; break"
bind $w <3> "winset $w; zoom 2.0; break"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits