mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 10:10:59 +00:00
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:
parent
c4080b3b73
commit
db5b56b068
2 changed files with 7 additions and 7 deletions
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue