![](https://seccdn.libravatar.org/avatar/aa24984c190be65ba9054306350706f9.jpg?s=120&d=mm&r=g)
30 Apr
2009
30 Apr
'09
02:50
Attached patch is a refactoring of the RandR-based cursor code to be cleaner and faster. Fix for the cursor curruption issue is also included. (http://bugs.freedesktop.org/show_bug.cgi?id=13405) The non-RandR code path has not been touched, and will still exhibit the bug. The plan is to then rewrite that code path to use the new, cleaner code, which should make everything easier to understand and reduce the number of unnecessary register writes and conditional branches. I don't think a lot of people are using a non-RandR setup, so this should satisfy almost everybody that's currently experiencing cursor issues. -- Yang Zhao http://yangman.ca