desktop-shell: Damage the black view when we remove it
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 9 May 2014 23:24:07 +0000 (16:24 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 9 May 2014 23:24:07 +0000 (16:24 -0700)
We should be using weston_view_unmap() here, or maybe just destroying the
black view, but let's do a minimal, safe fix for the 1.5 release.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=78501

desktop-shell/shell.c

index db55ea9..84f5c83 100644 (file)
@@ -4499,6 +4499,8 @@ lower_fullscreen_layer(struct desktop_shell *shell)
                        /* Hide the black view */
                        wl_list_remove(&shsurf->fullscreen.black_view->layer_link);
                        wl_list_init(&shsurf->fullscreen.black_view->layer_link);
+                       weston_view_damage_below(shsurf->fullscreen.black_view);
+
                }
 
                /* Lower the view to the workspace layer */