mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-03 03:02:41 +00:00
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>
This commit is contained in:
parent
73050c358d
commit
fb64b00da7
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue