desktop-shell: Animate surface mapping
This commit is contained in:
@@ -842,6 +842,9 @@ map(struct wlsc_shell *base,
|
|||||||
if (!shell->locked || surface_type == SHELL_SURFACE_LOCK)
|
if (!shell->locked || surface_type == SHELL_SURFACE_LOCK)
|
||||||
wlsc_surface_configure(surface,
|
wlsc_surface_configure(surface,
|
||||||
surface->x, surface->y, width, height);
|
surface->x, surface->y, width, height);
|
||||||
|
|
||||||
|
if (surface_type == SHELL_SURFACE_TOPLEVEL)
|
||||||
|
wlsc_zoom_run(surface, 0.8, 1.0, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user