call gdk_event_request_motions(event) so selecting works with XInput

2007-05-11  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (selection_motion_event_handler): call
	gdk_event_request_motions(event) so selecting works with
	XInput devices too. Spotted by Tommi Komulainen.


svn path=/trunk/; revision=17820
This commit is contained in:
Michael Natterer 2007-05-11 16:03:48 +00:00 committed by Michael Natterer
parent 3768e2be79
commit f4df1a5245
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-05-11 Michael Natterer <mitch@imendio.com>
* 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 <ebassi@gnome.org>
* gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back

View File

@ -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");