[bug #5871] Mouse cursor not always updated/reset

2006-05-30 Thread M. Trache
Follow-up Comment #13, bug #5871 (project gnustep): You're right, there's no reason to duplicate all that code. :) I've changed it in the attached patch so that [NSWindow invalidateCursorRectsForView:] calls [NSView discardCursorRects]. The reason for not doing it the other way around is that acc

[bug #5871] Mouse cursor not always updated/reset

2006-05-29 Thread M. Trache
Follow-up Comment #11, bug #5871 (project gnustep): Hi, I just noticed that the cursor still does not reset when selecting text in a textfield and then dragging far enough to cause it so scroll, so that the cursor ends up outside of the textfield. I'm attaching a fix for it. _

[bug #5871] Mouse cursor not always updated/reset

2006-05-24 Thread M. Trache
Follow-up Comment #9, bug #5871 (project gnustep): In XGServerWindow, the description for _DPSsetcursor:: states that it should change the cursor on every X window owned by the application, yet I noticed that the windowmaps map table also contains the root window. I didn't know whether that is by

[bug #5871] Mouse cursor not always updated/reset

2006-05-16 Thread M. Trache
Follow-up Comment #7, bug #5871 (project gnustep): Hello, I've been using this simple patch (attached) which seems to resolve the problem, and it also takes care of updating the cursor as well if a view is moved underneath a cursor, etc. ___