From: Matthias Clasen Date: Thu, 2 Jan 2020 05:43:27 +0000 (-0500) Subject: Fix the previous commit X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~20^2~468 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7a1aefc7f3f7ad39498c58cf79d82c28e2e0b245;p=gtk4.git Fix the previous commit We need to actually use the right coordinates. --- diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c index f32d6d4e76..07de3af617 100644 --- a/gtk/gtkstackswitcher.c +++ b/gtk/gtkstackswitcher.c @@ -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;