Revision: 44719
          http://brlcad.svn.sourceforge.net/brlcad/?rev=44719&view=rev
Author:   bob1961
Date:     2011-06-01 18:45:15 +0000 (Wed, 01 Jun 2011)

Log Message:
-----------
Clear out bindings on the <Enter> event for the geometry window in 
Ged::init_view_bindings.

Modified Paths:
--------------
    brlcad/trunk/src/tclscripts/lib/Ged.tcl

Modified: brlcad/trunk/src/tclscripts/lib/Ged.tcl
===================================================================
--- brlcad/trunk/src/tclscripts/lib/Ged.tcl     2011-06-01 13:03:39 UTC (rev 
44718)
+++ brlcad/trunk/src/tclscripts/lib/Ged.tcl     2011-06-01 18:45:15 UTC (rev 
44719)
@@ -3180,6 +3180,8 @@
 }
 
 ::itcl::body cadwidgets::Ged::init_view_bindings {{_type default}} {
+    global tcl_platform
+
     switch -- $_type {
        brlcad {
            foreach pane {ul ur ll lr} {
@@ -3198,6 +3200,15 @@
            }
        }
     }
+
+    # Turn off <Enter> bindings. This fixes the problem where various
+    # various dialogs disappear when the mouse enters the geometry
+    # window when on the "windows" platform.
+    if {$tcl_platform(platform) == "windows"} {
+       foreach dm {ur ul ll lr} {
+           bind $itk_component($dm) <Enter> {}
+       }
+    }
 }
 
 ::itcl::body cadwidgets::Ged::init_view_center {{_button 1}} {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to