Difficulty: Easy
Method: In UnityWindow::windowNotify (CompWindowNotify n) track the number of 
times CompWindowNotifyMinimize comes in -> save it to a GSettings key, once it 
surpasses a certain number, you can change the option in the plugin like this:

CompPlugin *p = screen->findPlugin ("animation");

if (p)
{
     CompOption::Vector &options = p->vTable->getOptions ();

     foreach (CompOption &o, options)
     {
        if (o.name () == "minimize_animations" )
        .... (scan list for first minimize animation for "normal" windows and 
change the value to something slower.

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1017510

Title:
  Window management - window animations are too fast for some people to
  see.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ayatana-design/+bug/1017510/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~compiz
Post to     : compiz@lists.launchpad.net
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp

Reply via email to