desktop-shell: Do another update transform

This is similar to commit 'libweston: Update view transforms more often', where
we update the view's transform when getting the panel dimensions.

Fixes #740

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2023-04-19 12:02:08 +03:00 committed by Daniel Stone
parent 291958682f
commit 51f377b813

View file

@ -365,6 +365,8 @@ get_output_panel_size(struct desktop_shell *shell,
wl_list_for_each(view, &shell->panel_layer.view_list.link, layer_link.link) {
if (view->surface->output == output) {
weston_view_update_transform(view);
get_panel_size(shell, view, width, height);
return;
}