mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
Revert "clutter/click-action: Do not process captured event if action is disabled"
This reverts commit 5f5ce08ba4
. There is
no way to reach this callback when the click action is disabled.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1188
This commit is contained in:
parent
676997e0af
commit
0d0834f87c
@ -347,12 +347,6 @@ on_captured_event (ClutterActor *stage,
|
|||||||
ClutterModifierType modifier_state;
|
ClutterModifierType modifier_state;
|
||||||
gboolean has_button = TRUE;
|
gboolean has_button = TRUE;
|
||||||
|
|
||||||
if (!clutter_actor_meta_get_enabled (CLUTTER_ACTOR_META (action)))
|
|
||||||
{
|
|
||||||
clutter_click_action_release (action);
|
|
||||||
return CLUTTER_EVENT_PROPAGATE;
|
|
||||||
}
|
|
||||||
|
|
||||||
actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (action));
|
actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (action));
|
||||||
|
|
||||||
switch (clutter_event_type (event))
|
switch (clutter_event_type (event))
|
||||||
|
Loading…
Reference in New Issue
Block a user