From c86407b84bf1eaec754a27c53d2dffd801c2af7a Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 12 Feb 2015 13:37:29 +0100 Subject: [PATCH] Bug 732999 - Middle-click paste doesn't move cursor Move the caret to the position where the mouse is. --- e-util/e-html-editor-view.c | 1 + 1 file changed, 1 insertion(+) diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c index 8fd9be6654..aa03a46358 100644 --- a/e-util/e-html-editor-view.c +++ b/e-util/e-html-editor-view.c @@ -2599,6 +2599,7 @@ html_editor_view_button_press_event (GtkWidget *widget, if (event->button == 2) { /* Middle click paste */ + html_editor_view_move_selection_on_point (widget); g_signal_emit (widget, signals[PASTE_PRIMARY_CLIPBOARD], 0); event_handled = TRUE; } else if (event->button == 3) {