Revert last change in NSCursor.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36806 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
espectador 2013-07-03 00:05:31 +00:00
parent c4080b3b73
commit db5b56b068
2 changed files with 7 additions and 7 deletions

View file

@ -1,3 +1,7 @@
2013-07-02 German A. Arias <german@xelalug.org>
* Source/NSCursor.m (-push): Revert last change.
2013-07-02 German A. Arias <german@xelalug.org> 2013-07-02 German A. Arias <german@xelalug.org>
* Source/NSCursor.m (-push): If the cursor is the current cursor, * Source/NSCursor.m (-push): If the cursor is the current cursor,

View file

@ -490,13 +490,9 @@ backgroundColorHint:(NSColor *)bg
*/ */
- (void) push - (void) push
{ {
// If this is the current cursor, don't set it again.
if (gnustep_gui_current_cursor != self)
{
[gnustep_gui_cursor_stack addObject: gnustep_gui_current_cursor]; [gnustep_gui_cursor_stack addObject: gnustep_gui_current_cursor];
[self set]; [self set];
NSDebugLLog(@"NSCursor", @"Cursor push %p", _cid); NSDebugLLog(@"NSCursor", @"Cursor push %p", _cid);
}
} }
/**<p>Sets the NSCursor as the current cursor.</p> /**<p>Sets the NSCursor as the current cursor.</p>