1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00
aports/community/graphene/fix-gnome-shell-touch-issues.patch

14 lines
507 B
Diff

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3976#note_1079639
diff --git a/src/graphene-ray.c b/src/graphene-ray.c
index 66c3393..9151300 100644
--- a/src/graphene-ray.c
+++ b/src/graphene-ray.c
@@ -563,7 +563,7 @@ graphene_ray_intersect_box (const graphene_ray_t *r,
#else
if (ty_min > tx_min || fpclassify (tx_min) == FP_NAN)
tx_min = ty_min;
- if (ty_max > tx_max || fpclassify (tx_max) == FP_NAN)
+ if (ty_max < tx_max || fpclassify (tx_max) == FP_NAN)
tx_max = ty_max;
#endif