parent
14a53a6627
commit
fc49038e88
@ -0,0 +1,38 @@
|
|||||||
|
From 28030178d7682ce5be03cb7273365ab628065871 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Carlos Garnacho <carlosg@gnome.org>
|
||||||
|
Date: Mon, 27 Sep 2021 20:37:30 +0200
|
||||||
|
Subject: [PATCH] clutter: Make ClutterClickAction independent of click count
|
||||||
|
|
||||||
|
This will trigger for every button press/release that is obtained,
|
||||||
|
regardless of the click count.
|
||||||
|
|
||||||
|
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2024>
|
||||||
|
---
|
||||||
|
clutter/clutter/clutter-click-action.c | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/clutter/clutter/clutter-click-action.c b/clutter/clutter/clutter-click-action.c
|
||||||
|
index 45d87e809..266b6da92 100644
|
||||||
|
--- a/clutter/clutter/clutter-click-action.c
|
||||||
|
+++ b/clutter/clutter/clutter-click-action.c
|
||||||
|
@@ -306,9 +306,6 @@ on_event (ClutterActor *actor,
|
||||||
|
case CLUTTER_TOUCH_BEGIN:
|
||||||
|
has_button = FALSE;
|
||||||
|
case CLUTTER_BUTTON_PRESS:
|
||||||
|
- if (has_button && clutter_event_get_click_count (event) != 1)
|
||||||
|
- return CLUTTER_EVENT_PROPAGATE;
|
||||||
|
-
|
||||||
|
if (priv->is_held)
|
||||||
|
return CLUTTER_EVENT_STOP;
|
||||||
|
|
||||||
|
@@ -386,7 +383,6 @@ on_captured_event (ClutterActor *stage,
|
||||||
|
return CLUTTER_EVENT_STOP;
|
||||||
|
|
||||||
|
if ((has_button && clutter_event_get_button (event) != priv->press_button) ||
|
||||||
|
- (has_button && clutter_event_get_click_count (event) != 1) ||
|
||||||
|
clutter_event_get_device (event) != priv->press_device ||
|
||||||
|
clutter_event_get_event_sequence (event) != priv->press_sequence)
|
||||||
|
return CLUTTER_EVENT_PROPAGATE;
|
||||||
|
--
|
||||||
|
2.35.1
|
||||||
|
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: mutter
|
Name: mutter
|
||||||
Version: 40.9
|
Version: 40.9
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Window and compositing manager based on Clutter
|
Summary: Window and compositing manager based on Clutter
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -68,6 +68,8 @@ Patch14: hw-cursor-dumb-buffer.patch
|
|||||||
# Backport EGLStream overview fixes (#2052584)
|
# Backport EGLStream overview fixes (#2052584)
|
||||||
Patch15: eglstream-overview-fixes.patch
|
Patch15: eglstream-overview-fixes.patch
|
||||||
|
|
||||||
|
Patch16: 0001-clutter-Make-ClutterClickAction-independent-of-click.patch
|
||||||
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: startup-notification-devel
|
BuildRequires: startup-notification-devel
|
||||||
@ -214,6 +216,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|||||||
%{_datadir}/mutter-%{mutter_api_version}/tests
|
%{_datadir}/mutter-%{mutter_api_version}/tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 30 2022 Florian Müllner <fmuellner@redhat.com> - 40.9-2
|
||||||
|
- Ignore click count for click actions
|
||||||
|
Resolves: #2052806
|
||||||
|
|
||||||
* Tue Feb 22 2022 Florian Müllner <fmuellner@redhat.com> - 40.9-1
|
* Tue Feb 22 2022 Florian Müllner <fmuellner@redhat.com> - 40.9-1
|
||||||
- Update to 40.9
|
- Update to 40.9
|
||||||
Resolves: #2056414
|
Resolves: #2056414
|
||||||
|
Loading…
Reference in New Issue
Block a user