summaryrefslogtreecommitdiff
path: root/desktop-shell/shell.c
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2023-07-12 10:37:42 +0100
committerMarius Vlad <marius.vlad@collabora.com>2023-08-11 14:10:45 +0300
commitfb64b00da7ce35a20b99085fe7a7c361b82224de (patch)
tree968c1b097cd957d9ef406c00dfb5d8980749241c /desktop-shell/shell.c
parent73050c358d55bf56cf5d0efcffb903618a3fd93c (diff)
desktop-shell: Remove manual damage for minimised surfaces
We don't need to inflict any damage here, because it's been done for us when we move the layers. Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'desktop-shell/shell.c')
-rw-r--r--desktop-shell/shell.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 8aacdd17..2df4d6a8 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -1839,7 +1839,6 @@ set_minimized(struct weston_surface *surface)
struct shell_surface *shsurf;
struct workspace *current_ws;
struct weston_view *view;
- struct weston_subsurface *subsurface;
view = get_default_view(surface);
if (!view)
@@ -1857,12 +1856,6 @@ set_minimized(struct weston_surface *surface)
surface_keyboard_focus_lost(surface);
shell_surface_update_child_surface_layers(shsurf);
-
- weston_view_damage_below(shsurf->view);
- wl_list_for_each(subsurface, &surface->subsurface_list, parent_link) {
- wl_list_for_each(view, &subsurface->surface->views, surface_link)
- weston_view_damage_below(view);
- }
}