summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-12-04 15:32:59 -0500
committerKristian Høgsberg <krh@bitplanet.net>2011-12-04 15:32:59 -0500
commit2f88a40c576e021252dae99c7768da7b88aa0fbc (patch)
treeddd95ab82b7ce10515630c72afa115ad7596d8ef
parent698c058e2af725e109e7d9561cc5a698fdd6e8e5 (diff)
desktop-shell: Animate surface mapping
-rw-r--r--compositor/shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compositor/shell.c b/compositor/shell.c
index fd2d4fca..b7cfdd33 100644
--- a/compositor/shell.c
+++ b/compositor/shell.c
@@ -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