mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Basic CM minimize effect
Added minimize hook to the compositor, hooked up into MetaWindow, implemented in the clutter compositor.
This commit is contained in:
@ -1475,6 +1475,13 @@ implement_showing (MetaWindow *window,
|
||||
|
||||
meta_window_get_outer_rect (window, &window_rect);
|
||||
|
||||
if (window->display->compositor)
|
||||
{
|
||||
meta_compositor_minimize_window (window->display->compositor,
|
||||
window);
|
||||
finish_minimize (window);
|
||||
}
|
||||
else
|
||||
meta_effect_run_minimize (window,
|
||||
&window_rect,
|
||||
&icon_rect,
|
||||
|
Reference in New Issue
Block a user