From: Robert Roebling Date: Mon, 28 Aug 2006 08:33:23 +0000 (+0000) Subject: Leave a comment about drag threshold setting. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9fcdfe053aed83e5f2724dd2bc1183900447f94c?ds=sidebyside Leave a comment about drag threshold setting. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 2dc070401f..1aa49645b0 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -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