Initialize the cursor position
By default, the cursor position is initialized to -1, meaning "place the cursor always at the end of the text".
This commit is contained in:
parent
d5df1bebcf
commit
7af992974e
@ -1391,6 +1391,8 @@ clutter_text_init (ClutterText *self)
|
||||
priv->font_name = g_strdup (DEFAULT_FONT_NAME);
|
||||
priv->font_desc = pango_font_description_from_string (priv->font_name);
|
||||
|
||||
priv->position = -1;
|
||||
|
||||
priv->x_pos = -1;
|
||||
priv->cursor_visible = TRUE;
|
||||
priv->editable = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user