compositor: pass correct parameter to meta_window_actor_size_change()

We were always passing the parameter for a maximize animation.
This commit is contained in:
Cosimo Cecchi 2015-10-12 11:55:51 -04:00
parent d7f544f42e
commit 377ecdb864

View File

@ -779,7 +779,7 @@ meta_compositor_size_change_window (MetaCompositor *compositor,
MetaRectangle *old_buffer_rect)
{
MetaWindowActor *window_actor = META_WINDOW_ACTOR (meta_window_get_compositor_private (window));
meta_window_actor_size_change (window_actor, META_SIZE_CHANGE_MAXIMIZE, old_frame_rect, old_buffer_rect);
meta_window_actor_size_change (window_actor, which_change, old_frame_rect, old_buffer_rect);
}
void