summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>2022-10-03 12:08:54 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-11-21 13:55:20 +0200
commit7a8392d2fe702880eaf33d161652bdddcc998d74 (patch)
treecceb112af1923faf38f1cf7d84bc08a6676886fa
parent7678ec9209883600553596160b80f7c8716a5723 (diff)
downloadweston-7a8392d2fe702880eaf33d161652bdddcc998d74.tar.gz
kiosk-shell: Update view transform after activation.
The activation of a view implies, among other things, a change in the associated view layer which is initially unset. In order for this change to be reflected in the corresponding surface's output mask, and hence allow surface damage to trigger output repaints, we need to update the view transform. Fixes #674 Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> (cherry picked from commit 341d09d232d652c0001441cce55beb874fb3ba36)
-rw-r--r--kiosk-shell/kiosk-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kiosk-shell/kiosk-shell.c b/kiosk-shell/kiosk-shell.c
index 3d00baf4..79dd6201 100644
--- a/kiosk-shell/kiosk-shell.c
+++ b/kiosk-shell/kiosk-shell.c
@@ -413,6 +413,7 @@ kiosk_shell_surface_activate(struct kiosk_shell_surface *shsurf,
weston_layer_entry_insert(&shsurf->shell->normal_layer.view_list,
&shsurf->view->layer_link);
weston_view_geometry_dirty(shsurf->view);
+ weston_view_update_transform(shsurf->view);
weston_surface_damage(shsurf->view->surface);
}