desktop-shell: Don't re-position views when output_list is empty

Signed-off-by: Harish Krupo <harishkrupo@gmail.com>
dev
Harish Krupo 6 years ago committed by Daniel Stone
parent 137b811ecd
commit 2dff4dd695
  1. 3
      desktop-shell/shell.c

@ -4732,6 +4732,9 @@ shell_reposition_view_on_output_destroy(struct weston_view *view)
float x, y;
int visible;
if (wl_list_empty(&ec->output_list))
return;
x = view->geometry.x;
y = view->geometry.y;

Loading…
Cancel
Save