summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index 691dcb098..97d49b6ab 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -229,7 +229,7 @@ pencil_handle_button_press(SPPencilContext *const pc, GdkEventButton const &beve
default:
/* Set first point of sequence */
if (bevent.state & GDK_CONTROL_MASK) {
- freehand_create_single_dot(event_context, p, "tools.freehand.pencil", bevent.state & GDK_SHIFT_MASK);
+ freehand_create_single_dot(event_context, p, "tools.freehand.pencil", bevent.state);
ret = true;
break;
}