mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 03:04:13 +00: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
|
@ -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…
Reference in a new issue