mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
Fix the previous commit
We need to actually use the right coordinates.
This commit is contained in:
parent
f7f06f810b
commit
7a1aefc7f3
@ -267,7 +267,7 @@ gtk_stack_switcher_drag_motion (GtkWidget *widget,
|
||||
{
|
||||
int cx, cy;
|
||||
gtk_widget_translate_coordinates (GTK_WIDGET (self), value, x, y, &cx, &cy);
|
||||
if (gtk_widget_contains (GTK_WIDGET (value), x, y))
|
||||
if (gtk_widget_contains (GTK_WIDGET (value), cx, cy))
|
||||
{
|
||||
button = GTK_WIDGET (value);
|
||||
retval = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user