changeset 1949:09f9c91adf4b

merge
author Jorge Arellano Cid <jcid@dillo.org>
date Tue, 15 Mar 2011 09:33:04 -0300
parents caf71cd30ec8 (current diff) 217ce29096c3 (diff)
children cd551611000a
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dw/fltkviewport.cc	Tue Mar 15 09:28:45 2011 -0300
+++ b/dw/fltkviewport.cc	Tue Mar 15 09:33:04 2011 -0300
@@ -292,7 +292,7 @@
  */
 void FltkViewport::positionChanged ()
 {
-   if (mouse_x != -1)
+   if (mouse_x != -1 && dragScrolling == false)
       (void)theLayout->motionNotify (this,
                                      translateViewXToCanvasX (mouse_x),
                                      translateViewYToCanvasY (mouse_y),