[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #5871] Mouse cursor not always updated/reset
From: |
M. Trache |
Subject: |
[bug #5871] Mouse cursor not always updated/reset |
Date: |
Tue, 30 May 2006 19:36:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3 |
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 according to apple's docs, invalidateCursorRectsForView should
invalidate the cursor rect and automatically (or whenever the window becomes
key) calls [NSWindow resetCursorRects], while [NSView discardCursorRects]
should simply discard, but not be reset until another piece of code
specifically invalidates or resets the rects again.
_______________________________________________________
Additional Item Attachment:
File name: cursor-update-3.diff Size:1 KB
<http://savannah.gnu.org/bugs/download.php?file_id=10085>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=5871>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/