mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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:
parent
3768e2be79
commit
f4df1a5245
@ -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
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user