forked from AuroraMiddleware/gtk
don't add entry->scroll_offset to entry->drag_start_y. Fixes the entry
2007-01-12 Michael Natterer <mitch@imendio.com> * gtk/gtkentry.c (gtk_entry_button_press): don't add entry->scroll_offset to entry->drag_start_y. Fixes the entry starting drags after ridiculously small mouse movements. svn path=/trunk/; revision=17134
This commit is contained in:
parent
5bc2f68a5c
commit
adcdfcd59f
@ -1,3 +1,9 @@
|
||||
2007-01-12 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_button_press): don't add
|
||||
entry->scroll_offset to entry->drag_start_y. Fixes the entry
|
||||
starting drags after ridiculously small mouse movements.
|
||||
|
||||
2007-01-11 Richard Hult <richard@imendio.com>
|
||||
|
||||
* demos/gtk-demo/main.c: (load_file): Close the file after it's
|
||||
|
@ -1745,7 +1745,7 @@ gtk_entry_button_press (GtkWidget *widget,
|
||||
*/
|
||||
entry->in_drag = TRUE;
|
||||
entry->drag_start_x = event->x + entry->scroll_offset;
|
||||
entry->drag_start_y = event->y + entry->scroll_offset;
|
||||
entry->drag_start_y = event->y;
|
||||
}
|
||||
else
|
||||
gtk_editable_set_position (editable, tmp_pos);
|
||||
|
Loading…
Reference in New Issue
Block a user