commit | 414bd420fd75f7fee8ba7c5de16a6336845edea2 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Thu Jun 21 22:07:30 2012 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Jun 21 22:07:30 2012 -0400 |
tree | 604019129a50a324ee8af3199636becf58b8fa88 | |
parent | 85b2e4b6bf9c05f8714135936bd8b21015ec8ee3 [diff] [blame] |
util: Generalize surface animation code Too much duplicated code here, and we're about to introduce another animation.
diff --git a/src/shell.c b/src/shell.c index 80fdf72..b3a7e68 100644 --- a/src/shell.c +++ b/src/shell.c
@@ -1923,6 +1923,8 @@ wl_list_insert(&shell->panel_layer.surface_list, &surface->surface->layer_link); surface->surface->output = surface->output; weston_surface_damage(surface->surface); + + weston_zoom_run(surface->surface, 0.8, 1.0, NULL, NULL); } static void