summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e61bf8)
raw | patch | inline | side by side (parent: 3e61bf8)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 13 Nov 2006 08:49:27 +0000 (08:49 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 13 Nov 2006 08:49:27 +0000 (08:49 +0000) |
src/event-context.cpp | patch | blob | history |
diff --git a/src/event-context.cpp b/src/event-context.cpp
index 47447e6a0fa4263a6c10e3b09158156529a4f20d..e63df0d2f5eedff819df23361987fe696f2d5c99 100644 (file)
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
@@ -452,6 +452,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context,
case GDK_BUTTON_RELEASE:
if (within_tolerance && (panning || zoom_rb)) {
dontgrab ++;
+ zoom_rb = 0;
NR::Point const event_w(event->button.x, event->button.y);
NR::Point const event_dt(desktop->w2d(event_w));
double const zoom_power = ( (event->button.state & GDK_SHIFT_MASK)