mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
text: We still have to paint the actor if the cursor is visible
https://bugzilla.gnome.org/show_bug.cgi?id=659116
This commit is contained in:
parent
1883ee13f9
commit
41bd15226f
@ -2009,7 +2009,8 @@ clutter_text_paint (ClutterActor *self)
|
||||
}
|
||||
|
||||
/* don't bother painting an empty text actor */
|
||||
if (priv->text[0] == '\0')
|
||||
if (priv->text[0] == '\0' &&
|
||||
(!priv->editable || !priv->cursor_visible))
|
||||
return;
|
||||
|
||||
clutter_actor_get_allocation_box (self, &alloc);
|
||||
|
Loading…
Reference in New Issue
Block a user