Make middle mouse event be processed by neovim itself (#14)

This commit is contained in:
daa84 2017-10-18 18:12:29 +03:00
parent ab85f5a90a
commit 4068fc5a43
1 changed files with 1 additions and 4 deletions

View File

@ -643,10 +643,7 @@ fn gtk_button_press(shell: &mut State, ui_state: &mut UiState, ev: &EventButton)
match ev.get_button() {
1 => mouse_input(shell, "LeftMouse", ev.get_state(), ev.get_position()),
2 => {
mouse_input(shell, "LeftMouse", ev.get_state(), ev.get_position());
shell.edit_paste("*");
}
2 => mouse_input(shell, "MiddleMouse", ev.get_state(), ev.get_position()),
3 => mouse_input(shell, "RightMouse", ev.get_state(), ev.get_position()),
_ => (),
}