summaryrefslogtreecommitdiffstats
path: root/src/draw-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw-context.cpp')
-rw-r--r--src/draw-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/draw-context.cpp b/src/draw-context.cpp
index 244a16c91..bb2468b98 100644
--- a/src/draw-context.cpp
+++ b/src/draw-context.cpp
@@ -205,7 +205,7 @@ gint SPDrawContext::root_handler(GdkEvent* event) {
case GDK_KEY_KP_Up:
case GDK_KEY_KP_Down:
// prevent the zoom field from activation
- if (!MOD__CTRL_ONLY) {
+ if (!MOD__CTRL_ONLY(event)) {
ret = TRUE;
}
break;