mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
desktop-shell: Update view transform when resizing windows
After commit 2dc8680d71 this started crashing. We need to update the
view transform here too.
Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
133417b016
commit
061c2b7382
1 changed files with 2 additions and 0 deletions
|
|
@ -1154,6 +1154,8 @@ resize_grab_motion(struct weston_pointer_grab *grab,
|
|||
if (!shsurf)
|
||||
return;
|
||||
|
||||
weston_view_update_transform(shsurf->view);
|
||||
|
||||
weston_view_from_global_fixed(shsurf->view,
|
||||
pointer->grab_x, pointer->grab_y,
|
||||
&from_x, &from_y);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue