summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2014-06-24 11:46:02 -0300
committerJoaquín Ignacio Aramendía <[email protected]>2014-06-26 20:23:32 -0300
commit5675f355396d58bcbb16f8e7fabd60d5d3bc69e1 (patch)
tree44a36dd2bc30b62992ed0149e4b02489e932ac94 /src
parent5807acda35eba4a1c7d0f515586d138a0bd95be4 (diff)
downloadmarco-5675f355396d58bcbb16f8e7fabd60d5d3bc69e1.tar.bz2
marco-5675f355396d58bcbb16f8e7fabd60d5d3bc69e1.tar.xz
Add a simple unminimize effect the same as minimize
Diffstat (limited to 'src')
-rw-r--r--src/core/effects.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/effects.c b/src/core/effects.c
index 4e9b3ae8..592e3470 100644
--- a/src/core/effects.c
+++ b/src/core/effects.c
@@ -719,6 +719,12 @@ run_default_effect_handler (MetaEffect *effect)
&(effect->u.minimize.icon_rect),
META_MINIMIZE_ANIMATION_LENGTH);
break;
+ case META_EFFECT_UNMINIMIZE:
+ draw_box_animation (effect->window->screen,
+ &(effect->u.minimize.icon_rect),
+ &(effect->u.minimize.window_rect),
+ META_MINIMIZE_ANIMATION_LENGTH);
+ break;
default:
break;