projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f06f8
)
Fix the previous commit
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Jan 2020 05:43:27 +0000
(
00:43
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Jan 2020 05:43:27 +0000
(
00:43
-0500)
We need to actually use the right coordinates.
gtk/gtkstackswitcher.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstackswitcher.c
b/gtk/gtkstackswitcher.c
index f32d6d4e76f08e9355bfb2a12a78809e254b256e..07de3af6178841b2b726eaa8ba110b2a2b0cea54 100644
(file)
--- 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, c
y))
{
button = GTK_WIDGET (value);
retval = TRUE;