diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-01-23 03:21:57 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-01-23 03:21:57 +0000 |
| commit | 11ae816a74c061c219a4d833b58e6f940a53fff5 (patch) | |
| tree | a24c16b15496b4f308347bf3e7afdf6c23ae93e4 /src/display/sp-canvas.cpp | |
| parent | Don't throw away an existing full path. (diff) | |
| download | inkscape-11ae816a74c061c219a4d833b58e6f940a53fff5.tar.gz inkscape-11ae816a74c061c219a4d833b58e6f940a53fff5.zip | |
Make sure we're not interfering with right or middle click with undo prevention bug #168695
(bzr r12974)
Diffstat (limited to 'src/display/sp-canvas.cpp')
| -rw-r--r-- | src/display/sp-canvas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index ff58cf453..d9640f763 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -1546,7 +1546,7 @@ int SPCanvasImpl::emitEvent(SPCanvas *canvas, GdkEvent *event) break; } // Block Undo and Redo while we drag /anything/ - if(event->type == GDK_BUTTON_PRESS) + if(event->type == GDK_BUTTON_PRESS && event->button.button == 1) canvas->is_dragging = true; else if(event->type == GDK_BUTTON_RELEASE) canvas->is_dragging = false; |
