desktop-shell: Animate surface mapping
authorKristian Høgsberg <krh@bitplanet.net>
Sun, 4 Dec 2011 20:32:59 +0000 (15:32 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Sun, 4 Dec 2011 20:32:59 +0000 (15:32 -0500)
compositor/shell.c

index fd2d4fc..b7cfdd3 100644 (file)
@@ -842,6 +842,9 @@ map(struct wlsc_shell *base,
        if (!shell->locked || surface_type == SHELL_SURFACE_LOCK)
                wlsc_surface_configure(surface,
                                       surface->x, surface->y, width, height);
+
+       if (surface_type == SHELL_SURFACE_TOPLEVEL)
+               wlsc_zoom_run(surface, 0.8, 1.0, NULL, NULL);
 }
 
 static void