diff options
-rw-r--r-- | dw/fltkviewport.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/fltkviewport.cc b/dw/fltkviewport.cc index ee919b29..58233004 100644 --- a/dw/fltkviewport.cc +++ b/dw/fltkviewport.cc @@ -292,7 +292,7 @@ void FltkViewport::setCanvasSize (int width, int ascent, int descent) */ void FltkViewport::positionChanged () { - if (mouse_x != -1) + if (mouse_x != -1 && dragScrolling == false) (void)theLayout->motionNotify (this, translateViewXToCanvasX (mouse_x), translateViewYToCanvasY (mouse_y), |