]> git.saurik.com Git - wxWidgets.git/commitdiff
Leave a comment about drag threshold setting.
authorRobert Roebling <robert@roebling.de>
Mon, 28 Aug 2006 08:33:23 +0000 (08:33 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 28 Aug 2006 08:33:23 +0000 (08:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/settings.cpp

index 2dc070401f4e8da92ec083dc1057f3f8341f5494..1aa49645b0da6b433a1ddee375d754cba7ab61d5 100644 (file)
@@ -533,6 +533,12 @@ int wxSystemSettingsNative::GetMetric( wxSystemMetric index, wxWindow* win )
                              "gtk-dnd-drag-threshold", &drag_threshold, NULL);
             }
 
+            // 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