Bug 732999 - Middle-click paste doesn't move cursor
Move the caret to the position where the mouse is.
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user