[mutter] compositor: pass correct parameter to meta_window_actor_size_change()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] compositor: pass correct parameter to meta_window_actor_size_change()
- Date: Mon, 12 Oct 2015 19:40:20 +0000 (UTC)
commit 377ecdb86471696b4ba36121ee44d45d0fcbd6c5
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Oct 12 11:55:51 2015 -0400
compositor: pass correct parameter to meta_window_actor_size_change()
We were always passing the parameter for a maximize animation.
src/compositor/compositor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c
index 615ebd8..e445a72 100644
--- a/src/compositor/compositor.c
+++ b/src/compositor/compositor.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]