summaryrefslogtreecommitdiff
path: root/src/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/callback.c')
-rw-r--r--src/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callback.c b/src/callback.c
index e62a435c..657632af 100644
--- a/src/callback.c
+++ b/src/callback.c
@@ -174,7 +174,7 @@ callback_key_press(GtkWidget *w, GdkEventKey *e)
else if (gtk_widget_has_focus(dwb.gui.entry) || mode & COMPLETION_MODE)
ret = false;
else if (webkit_web_view_has_selection(CURRENT_WEBVIEW()) && e->keyval == GDK_KEY_Return)
- dwb_follow_selection();
+ dwb_follow_selection(e);
else if (dwb.state.mode & AUTO_COMPLETE && DWB_TAB_KEY(e))
{
completion_autocomplete(dwb.keymap, e);