mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:00:47 +00:00
* Source/NSCursor.m (-mouseEntered:, -mouseExited:):
Add better debug output. * Source/NSWindow.m (-_checkCursorRectangles:forEvent:): Add hack that updates cursor rectangles more correctly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37022 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc4fbf9642
commit
645a552a58
3 changed files with 19 additions and 2 deletions
|
@ -434,6 +434,8 @@ backgroundColorHint:(NSColor *)bg
|
|||
*/
|
||||
- (void) mouseEntered: (NSEvent*)theEvent
|
||||
{
|
||||
NSDebugLLog(@"NSCursor", @"Cursor mouseEntered:enter %d exit %d",
|
||||
_cursor_flags.is_set_on_mouse_entered, _cursor_flags.is_set_on_mouse_exited);
|
||||
if (_cursor_flags.is_set_on_mouse_entered == YES)
|
||||
{
|
||||
[self set];
|
||||
|
@ -454,7 +456,8 @@ backgroundColorHint:(NSColor *)bg
|
|||
*/
|
||||
- (void) mouseExited: (NSEvent*)theEvent
|
||||
{
|
||||
NSDebugLLog(@"NSCursor", @"Cursor mouseExited:");
|
||||
NSDebugLLog(@"NSCursor", @"Cursor mouseExited: enter %d exit %d",
|
||||
_cursor_flags.is_set_on_mouse_entered, _cursor_flags.is_set_on_mouse_exited);
|
||||
if (_cursor_flags.is_set_on_mouse_exited == YES)
|
||||
{
|
||||
[self set];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue