diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-12-04 15:32:59 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-12-04 15:32:59 -0500 |
commit | 2f88a40c576e021252dae99c7768da7b88aa0fbc (patch) | |
tree | ddd95ab82b7ce10515630c72afa115ad7596d8ef | |
parent | 698c058e2af725e109e7d9561cc5a698fdd6e8e5 (diff) |
desktop-shell: Animate surface mapping
-rw-r--r-- | compositor/shell.c | 3 |
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 |