desktop-shell: Remove redundant geometry dirty call

Dirtying the geometry only sets a flag on the view saying that the
geometry is dirty, so we don't need to do it twice back-to-back.

Signed-off-by: Daniel Stone <daniels@collabora.com>
dev
Daniel Stone 3 years ago
parent 791e8b1c5f
commit de0cd53264
  1. 1
      desktop-shell/shell.c

@ -2098,7 +2098,6 @@ shell_ensure_fullscreen_black_view(struct shell_surface *shsurf)
output->width,
output->height);
weston_view_geometry_dirty(shsurf->fullscreen.black_view);
weston_layer_entry_remove(&shsurf->fullscreen.black_view->layer_link);
weston_layer_entry_insert(&shsurf->view->layer_link,
&shsurf->fullscreen.black_view->layer_link);

Loading…
Cancel
Save