diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 4cf56b5ba..40c69603a 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -2835,6 +2835,7 @@ clutter_text_init (ClutterText *self) priv->max_length = 0; priv->cursor_size = DEFAULT_CURSOR_SIZE; + memset (&priv->cursor_pos, 0, sizeof (ClutterGeometry)); priv->font_changed_id = g_signal_connect_swapped (clutter_get_default_backend (),