--- fselect.c.orig	Thu Dec 19 01:18:08 2002
+++ fselect.c	Thu Dec 19 01:18:13 2002
@@ -319,7 +319,7 @@
 {
     int dir;
     char seltext[FL_PATH_MAX];
-    static int lastline = -1, clicked;
+    static int lastline = -1, clicked = 0;
     int dblclick, thisline;
     FD_fselect *lfs = ob->form->fdui;
     const XEvent *xev = fl_last_event();
@@ -340,7 +340,7 @@
 
     lastline = thisline;
 
-    clicked = (clicked || xev->type == ButtonPress);
+    clicked = (clicked || xev->type == ButtonPress || xev->type == MotionNotify
);
 
     /* cursor keys can cause a single line being repeatedly selected 
        causing a wrong dblclick detection */

