Commit 5898cd32 authored by Tomohito Esaki's avatar Tomohito Esaki Committed by Daniel Stone

desktop-shell: unmap a view which was faded out

When Fading out a destroyed surface view finishes, the view is rendered
with very little alpha. After that, since the output isn't updated
unless a event on the output doesn't occurs, the view is still on the
output. By unmapping the view, the output repaint scheduled without the
Signed-off-by: Tomohito Esaki's avatarTomohito Esaki <>
parent 81433582
Pipeline #41773 passed with stages
in 50 seconds
......@@ -2348,7 +2348,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->view)) {
shsurf->view->is_mapped = false;
wl_event_loop_add_idle(loop, fade_out_done_idle_cb, shsurf);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment