desktop-shell: Don't re-position views when output_list is empty
Signed-off-by: Harish Krupo <harishkrupo@gmail.com>
This commit is contained in:
parent
137b811ecd
commit
2dff4dd695
@ -4732,6 +4732,9 @@ shell_reposition_view_on_output_destroy(struct weston_view *view)
|
|||||||
float x, y;
|
float x, y;
|
||||||
int visible;
|
int visible;
|
||||||
|
|
||||||
|
if (wl_list_empty(&ec->output_list))
|
||||||
|
return;
|
||||||
|
|
||||||
x = view->geometry.x;
|
x = view->geometry.x;
|
||||||
y = view->geometry.y;
|
y = view->geometry.y;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user