[gnome-shell] st/viewport: Invalidate transform when it changes
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st/viewport: Invalidate transform when it changes
- Date: Tue, 30 Jun 2020 18:17:52 +0000 (UTC)
commit ecdf62d63eee50c7655e82bf16da157c998e4529
Author: Jonas Dreßler <verdre v0yd nl>
Date: Thu Mar 12 13:33:25 2020 +0100
st/viewport: Invalidate transform when it changes
Since ClutterActor now caches the whole transformation matrix for an
actor, we need to invalidate the cached transform if the matrix returned
by apply_transform() implementations changes.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1308
src/st/st-viewport.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/st/st-viewport.c b/src/st/st-viewport.c
index 039eebf461..0eb1868ab9 100644
--- a/src/st/st-viewport.c
+++ b/src/st/st-viewport.c
@@ -78,6 +78,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment,
GParamSpec *pspec,
StViewport *viewport)
{
+ clutter_actor_invalidate_transform (CLUTTER_ACTOR (viewport));
clutter_actor_queue_relayout (CLUTTER_ACTOR (viewport));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]