desktop-shell: Don't try to move parented views on output removal

These should be repositioned relative to their parents, attempting to
move them independently not only doesn't make sense, but violates
weston_coord sanity checks.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2024-09-18 09:13:19 -05:00
parent 0e451e8dc3
commit 067e977fe1

View file

@ -4466,6 +4466,12 @@ shell_reposition_view_on_output_change(struct weston_view *view)
struct shell_surface *shsurf;
int visible;
/* We can't simply reposition popups and such, they must move with
* the parent.
*/
if (view->geometry.parent)
return;
if (wl_list_empty(&ec->output_list))
return;