Index: trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java	(revision 7006)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java	(revision 7009)
@@ -112,4 +112,9 @@
     private int initialMoveDelay = 200;
     /**
+     * The minimal shift of mouse (in pixels) befire something counts as move
+     */
+    private int initialMoveThreshold = 10;
+
+    /**
      * The initial EastNorths of node1 and node2
      */
@@ -209,4 +214,5 @@
         }
         initialMoveDelay = Main.pref.getInteger("edit.initial-move-delay",200);
+        initialMoveThreshold = Main.pref.getInteger("extrude.initial-move-threshold", 10);
         mainColor = Main.pref.getColor(marktr("Extrude: main line"), null);
         if (mainColor == null) mainColor = PaintColors.SELECTED.get();
@@ -362,5 +368,5 @@
         } else {
             if (mode == Mode.create_new) {
-                if (e.getPoint().distance(initialMousePos) > 10 && newN1en != null) {
+                if (e.getPoint().distance(initialMousePos) > initialMoveThreshold && newN1en != null) {
                     createNewRectangle();
                 }
@@ -370,5 +376,5 @@
                     addNewNode(e);
                 }
-                else if (e.getPoint().distance(initialMousePos) > 10 && newN1en != null && selectedSegment != null) {
+                else if (e.getPoint().distance(initialMousePos) > initialMoveThreshold && newN1en != null && selectedSegment != null) {
                     // main extrusion commands
                     performExtrusion();
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 7006)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java	(revision 7009)
@@ -174,6 +174,4 @@
         putValue("help", ht("/Action/Select"));
         selectionManager = new SelectionManager(this, false, mv);
-        initialMoveDelay = Main.pref.getInteger("edit.initial-move-delay", 200);
-        initialMoveThreshold = Main.pref.getInteger("edit.initial-move-threshold", 5);
     }
 
@@ -185,4 +183,6 @@
         mv.setVirtualNodesEnabled(Main.pref.getInteger("mappaint.node.virtual-size", 8) != 0);
         drawTargetHighlight = Main.pref.getBoolean("draw.target-highlight", true);
+        initialMoveDelay = Main.pref.getInteger("edit.initial-move-delay", 200);
+        initialMoveThreshold = Main.pref.getInteger("edit.initial-move-threshold", 5);
         cycleManager.init();
         virtualManager.init();
Index: trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 7006)
+++ trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 7009)
@@ -75,5 +75,4 @@
     private static final int MILLIS_OF_DAY = 86400000;
 
-    // Should us keep "%" character when fixing URL or encode it? Let us keep them for now, see #9937
     public static final String URL_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=%";
 
