Bug 732999 - Middle-click paste doesn't move cursor

Move the caret to the position where the mouse is.
This commit is contained in:
Tomas Popela
2015-02-12 13:37:29 +01:00
parent 75e63db31a
commit c86407b84b

View File

@ -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) {