summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8976821)
raw | patch | inline | side by side (parent: 8976821)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 5 Oct 2009 04:44:56 +0000 (04:44 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 5 Oct 2009 04:44:56 +0000 (04:44 +0000) |
src/event-context.cpp | patch | blob | history |
diff --git a/src/event-context.cpp b/src/event-context.cpp
index 958e8cb2b3d3056124c3b6e688a1efcf99494882..9b846f2b7e51a5f54e88c6e15363e33be52dcae8 100644 (file)
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
@@ -384,7 +384,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context,
}
break;
case 2:
- if (event->button.state == GDK_SHIFT_MASK) {
+ if (event->button.state & GDK_SHIFT_MASK) {
zoom_rb = 2;
} else {
// When starting panning, make sure there are no snap events pending because these might disable the panning again