[gtk] Fix the previous commit
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Fix the previous commit
- Date: Thu, 2 Jan 2020 05:44:08 +0000 (UTC)
commit 7a1aefc7f3f7ad39498c58cf79d82c28e2e0b245
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 2 00:43:27 2020 -0500
Fix the previous commit
We need to actually use the right coordinates.
gtk/gtkstackswitcher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]