aboutsummaryrefslogtreecommitdiffstats
path: root/community/graphene/fix-gnome-shell-touch-issues.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/graphene/fix-gnome-shell-touch-issues.patch')
-rw-r--r--community/graphene/fix-gnome-shell-touch-issues.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/graphene/fix-gnome-shell-touch-issues.patch b/community/graphene/fix-gnome-shell-touch-issues.patch
new file mode 100644
index 00000000000..d33ed720fc0
--- /dev/null
+++ b/community/graphene/fix-gnome-shell-touch-issues.patch
@@ -0,0 +1,14 @@
+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
+