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>
This commit is contained in:
parent
791e8b1c5f
commit
de0cd53264
@ -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…
x
Reference in New Issue
Block a user