summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkbufferview.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c
index ef4f985..ef5aac6 100644
--- a/src/gtkext/gtkbufferview.c
+++ b/src/gtkext/gtkbufferview.c
@@ -260,7 +260,8 @@ static gboolean gtk_buffer_view_button_press(GtkWidget *widget, GdkEventButton *
else
{
//addr = g_buffer_view_compute_caret_old(view->buffer_view, line, index, real_x, pview->display, &new);
- addr = g_buffer_view_compute_caret(view->buffer_view, real_x, real_y, pview->display, &new);
+ //addr = g_buffer_view_compute_caret(view->buffer_view, real_x, real_y, pview->display, &new);
+ addr = g_buffer_view_compute_caret_full(view->buffer_view, line, index, real_x, pview->display, &new);
gtk_buffer_view_relocate_caret(view, &new, addr);
}