From fae7ba52dca971c179f78b0d573ae2efd5c1fd13 Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Mon, 29 Jun 2020 15:53:21 +0200 Subject: [PATCH] Revert "st-label: Keep labels fully pre-rendered on the GPU" This reverts commit 96f1d1b08db550bd51374c081f8729383a7065a0. There have been reports of issues around this commit so back out from it on the stable branch. See https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2937 --- src/st/st-label.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/st/st-label.c b/src/st/st-label.c index 3f82a2c15..947c8ec86 100644 --- a/src/st/st-label.c +++ b/src/st/st-label.c @@ -294,7 +294,6 @@ st_label_class_init (StLabelClass *klass) static void st_label_init (StLabel *label) { - ClutterActor *actor = CLUTTER_ACTOR (label); StLabelPrivate *priv; label->priv = priv = st_label_get_instance_private (label); @@ -306,10 +305,7 @@ st_label_init (StLabel *label) label->priv->shadow_width = -1.; label->priv->shadow_height = -1.; - clutter_actor_add_child (actor, priv->label); - - clutter_actor_set_offscreen_redirect (actor, - CLUTTER_OFFSCREEN_REDIRECT_ALWAYS); + clutter_actor_add_child (CLUTTER_ACTOR (label), priv->label); } /**