]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/settings.cpp
cleanup for 10.5
[wxWidgets.git] / src / gtk / settings.cpp
index dd756beec056b9a30d747b4ed9d57632baa5f768..1aa49645b0da6b433a1ddee375d754cba7ab61d5 100644 (file)
@@ -533,7 +533,13 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win )
                              "gtk-dnd-drag-threshold", &drag_threshold, NULL);
             }
 
-            return drag_threshold * 2;
+            // The correct thing here would be to double the value
+            // since that is what the API wants. But the values
+            // are much bigger under GNOME than under Windows and
+            // just seem to much in many cases to be useful.
+            // drag_threshold *= 2;   
+
+            return drag_threshold;
 
         // MBN: ditto for icons
         case wxSYS_ICON_X:     return 32;