From 100dc6d2b19c6a5d9e22b7afb3e51ec8ade8bb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 27 Feb 2024 16:04:38 +0100 Subject: [PATCH] cally/text: Fix emission of `text_caret_moved` signal CallyText was still listening to changes to the deprecated `ClutterText:position` property to emit the signal, but the property was removed in commit 3184986897. Switch to the proper `cursor-position` property to fix the issue. Close: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7442 Part-of: --- clutter/clutter/cally/cally-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/cally/cally-text.c b/clutter/clutter/cally/cally-text.c index da204a1a2..1083caf32 100644 --- a/clutter/clutter/cally/cally-text.c +++ b/clutter/clutter/cally/cally-text.c @@ -1682,7 +1682,7 @@ cally_text_notify_clutter (GObject *obj, atk_obj = clutter_actor_get_accessible (CLUTTER_ACTOR (obj)); cally_text = CALLY_TEXT (atk_obj); - if (g_strcmp0 (pspec->name, "position") == 0) + if (g_strcmp0 (pspec->name, "cursor-position") == 0) { /* the selection can change also for the cursor position */ if (_check_for_selection_change (cally_text, clutter_text))