mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-22 03:04:13 +00:00
desktop-shell: Use weston_view_move_to_layer() for per-view unfade
This is kind of immaterial since the view is going to be destroyed, but it's a step. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
179d4513d0
commit
fd620717b3
|
@ -2137,7 +2137,7 @@ fade_out_done(struct weston_view_animation *animation, void *data)
|
|||
loop = wl_display_get_event_loop(shsurf->shell->compositor->wl_display);
|
||||
|
||||
if (weston_view_is_mapped(shsurf->wview_anim_fade)) {
|
||||
weston_view_unmap(shsurf->wview_anim_fade);
|
||||
weston_view_move_to_layer(shsurf->wview_anim_fade, NULL);
|
||||
wl_event_loop_add_idle(loop, fade_out_done_idle_cb, shsurf);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue