From 41bd15226f6fcbd373e4dc41888dbfa6aa930d3d Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 15 Sep 2011 04:50:43 +0100 Subject: [PATCH] text: We still have to paint the actor if the cursor is visible https://bugzilla.gnome.org/show_bug.cgi?id=659116 --- clutter/clutter-text.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 0eef0f271..7c9e4dcf9 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -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);