The bug is that on switching displays XRandR generates several RRNotify events, which in turn causes libgnome-desktop to re-evaluate it's information about the display setup.
The problem is that in determining this information, it then causes a lot of probing if the display information in the X server, which can be expensive. The fix here is it limit the number of probes by only doing it on the first event, and any other events that happen within 2 seconds will be ignored. This is a low-risk fix that allows a reduction in the probes, a more complete fix would be too risky and has been deferred to 2.26. Thanks, Darren. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: fix.diff URL: <http://mail.opensolaris.org/pipermail/jds-review/attachments/20081003/aeec89a7/attachment.ksh>
