From de0cd532647c671b9a6fde15511e9abb5f299402 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 18 Jan 2022 18:19:39 +0000 Subject: [PATCH] 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 --- desktop-shell/shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index c46f0ba4..8f0935a7 100644 --- a/desktop-shell/shell.c +++ b/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);