[fusion-commits] Compiz mirror: Changes to 'master' (b824c7f37a61448d974d622be90155c1e6295bef)
compiz at server.opencompositing.org
compiz at server.opencompositing.org
Sun Mar 23 10:03:04 CET 2008
New commits:
commit b824c7f37a61448d974d622be90155c1e6295bef
Author: Danny Baumann <dannybaumann at web.de>
Date: Sun Mar 23 09:51:39 2008 +0100
Don't allow minimization of windows that don't have the minimize action set and reduce code duplication.
src/window.c | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
Modified: compiz/src/window.c
===================================================================
--- compiz/src/window.c
+++ compiz/src/window.c
@@ -4580,14 +4580,7 @@ minimizeTransients (CompWindow *w,
if (w->transientFor == ancestor->id ||
isGroupTransient (w, ancestor->clientLeader))
{
- if (!w->minimized)
- {
- w->minimized = TRUE;
-
- forEachWindowOnScreen (w->screen, minimizeTransients, (void *) w);
-
- hideWindow (w);
- }
+ minimizeWindow (w);
}
}
More information about the commits
mailing list