Blame SOURCES/0001-clutter-Make-ClutterClickAction-independent-of-click.patch

5c9faf
From 28030178d7682ce5be03cb7273365ab628065871 Mon Sep 17 00:00:00 2001
5c9faf
From: Carlos Garnacho <carlosg@gnome.org>
5c9faf
Date: Mon, 27 Sep 2021 20:37:30 +0200
5c9faf
Subject: [PATCH] clutter: Make ClutterClickAction independent of click count
5c9faf
5c9faf
This will trigger for every button press/release that is obtained,
5c9faf
regardless of the click count.
5c9faf
5c9faf
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2024>
5c9faf
---
5c9faf
 clutter/clutter/clutter-click-action.c | 4 ----
5c9faf
 1 file changed, 4 deletions(-)
5c9faf
5c9faf
diff --git a/clutter/clutter/clutter-click-action.c b/clutter/clutter/clutter-click-action.c
5c9faf
index 45d87e809..266b6da92 100644
5c9faf
--- a/clutter/clutter/clutter-click-action.c
5c9faf
+++ b/clutter/clutter/clutter-click-action.c
5c9faf
@@ -306,9 +306,6 @@ on_event (ClutterActor       *actor,
5c9faf
     case CLUTTER_TOUCH_BEGIN:
5c9faf
       has_button = FALSE;
5c9faf
     case CLUTTER_BUTTON_PRESS:
5c9faf
-      if (has_button && clutter_event_get_click_count (event) != 1)
5c9faf
-        return CLUTTER_EVENT_PROPAGATE;
5c9faf
-
5c9faf
       if (priv->is_held)
5c9faf
         return CLUTTER_EVENT_STOP;
5c9faf
 
5c9faf
@@ -386,7 +383,6 @@ on_captured_event (ClutterActor       *stage,
5c9faf
         return CLUTTER_EVENT_STOP;
5c9faf
 
5c9faf
       if ((has_button && clutter_event_get_button (event) != priv->press_button) ||
5c9faf
-          (has_button && clutter_event_get_click_count (event) != 1) ||
5c9faf
           clutter_event_get_device (event) != priv->press_device ||
5c9faf
           clutter_event_get_event_sequence (event) != priv->press_sequence)
5c9faf
         return CLUTTER_EVENT_PROPAGATE;
5c9faf
-- 
5c9faf
2.35.1
5c9faf