diff --git a/ChangeLog b/ChangeLog index 8a4020192a..6488a774ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-11 Michael Natterer + + * gtk/gtktextview.c (selection_motion_event_handler): call + gdk_event_request_motions(event) so selecting works with + XInput devices too. Spotted by Tommi Komulainen. + 2007-05-11 Emmanuele Bassi * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c index 3005c4497e..42f47c50fe 100644 --- a/gtk/gtktextview.c +++ b/gtk/gtktextview.c @@ -5750,6 +5750,8 @@ selection_motion_event_handler (GtkTextView *text_view, GdkEventMotion *event, SelectionData *data) { + gdk_event_request_motions (event); + if (data->granularity == SELECT_CHARACTERS) { move_mark_to_pointer_and_scroll (text_view, "insert");