I don't understand why the patch has to change the type of loop being used. Why can't it just use the new function as the increment or decrement functions in the for loops? It would make the patch much smaller.
-- GPM unresponsive for two minutes after startup on Macbooks https://bugs.launchpad.net/bugs/289520 You received this bug notification because you are a member of Mactel Support, which is a direct subscriber. Status in Mactel Support: Fix Released Status in “gnome-power-manager” source package in Ubuntu: In Progress Bug description: Binary package hint: gnome-power-manager Many of the recent Apple MacBooks have a large number of LCD backlight levels. The GPM uses XRandR to modify the backlight. However, the gpm-brightness-xrandr smooth brightness function does not take the number of brightness levels into account. On recent Macbooks, this leads to some 20000 brightness-set calls on startup, an activity that takes about one and a half minute. During this time, GPM is not responsive. Attached is a patch that introduces scaled stepping, which fixes the problem. _______________________________________________ Mailing list: https://launchpad.net/~mactel-support Post to : [email protected] Unsubscribe : https://launchpad.net/~mactel-support More help : https://help.launchpad.net/ListHelp

