[gtk/wip/baedert/for-master: 17/27] widget: don't queue a redraw on css transform changes
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 17/27] widget: don't queue a redraw on css transform changes
- Date: Fri, 12 Jun 2020 03:51:16 +0000 (UTC)
commit 314727ab42a4ba14c321741cfc49719532337019
Author: Timm Bäder <mail baedert org>
Date: Sat Jun 6 15:22:08 2020 +0200
widget: don't queue a redraw on css transform changes
gtk/gtkwidget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 3353c72afe..4f27e2c83f 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4743,7 +4743,7 @@ gtk_widget_real_css_changed (GtkWidget *widget,
}
else if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TRANSFORM))
{
- gtk_widget_queue_allocate (widget);
+ gtk_widget_queue_allocate (priv->parent);
}
else if (gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_REDRAW) ||
(has_text && gtk_css_style_change_affects (change, GTK_CSS_AFFECTS_TEXT_CONTENT)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]