mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 03:28:00 +02:00
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 surface. Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
This commit is contained in:
parent
814335821e
commit
5898cd32c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
weston_view_unmap(shsurf->view);
|
||||
wl_event_loop_add_idle(loop, fade_out_done_idle_cb, shsurf);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue