mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
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:
parent
0e451e8dc3
commit
067e977fe1
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue