diff options
author | Rui Matos <tiagomatos@gmail.com> | 2011-09-15 04:50:43 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-09-15 10:43:04 +0100 |
commit | 41bd15226f6fcbd373e4dc41888dbfa6aa930d3d (patch) | |
tree | d1f918ea9905ffdffdd72a12cfd64a8e0c7f7bdb | |
parent | 1883ee13f986f6828f7a4d9bc6f867cce718caa4 (diff) | |
download | clutter-41bd15226f6fcbd373e4dc41888dbfa6aa930d3d.tar.gz |
text: We still have to paint the actor if the cursor is visible
https://bugzilla.gnome.org/show_bug.cgi?id=659116
-rw-r--r-- | clutter/clutter-text.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |