mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3621>
This commit is contained in:
parent
c4767b6c01
commit
100dc6d2b1
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user