aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/input.c b/input.c
index 596bce1f..9eb0161d 100644
--- a/input.c
+++ b/input.c
@@ -408,7 +408,8 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
if (button == BTN_LEFT) {
if (double_click)
- selection_mark_word(term, term->mouse.col, term->mouse.row, serial);
+ selection_mark_word(term, term->mouse.col, term->mouse.row,
+ term->kbd.ctrl, serial);
else
selection_start(term, term->mouse.col, term->mouse.row);
} else {