diff options
author | corvid <corvid@lavabit.com> | 2011-03-13 22:21:23 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-03-13 22:21:23 +0000 |
commit | 9e7ce4d9a86608f445ea428d48cbea607fbad09a (patch) | |
tree | f86f3d5a03359414850765b8d03e3b59d7830da2 /dw/fltkviewport.cc | |
parent | 1c24e3a90ca78e0f797b4c974153d97443756063 (diff) |
no motionNotify when drag scrolling
Diffstat (limited to 'dw/fltkviewport.cc')
-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), |