mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 09:58:14 +02:00
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:
parent
291958682f
commit
51f377b813
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue