Improvements for tooltips and Drag&Drop operations.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35566 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Germán Arias 2012-09-14 01:01:23 +00:00
parent 57fef8379e
commit f3d8072b00
3 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2012-09-13 German A. Arias <german@xelalug.org>
* Source/GSToolTips.m (-_endDisplay): Set NSZeroRect as frame before
order out the tooltip window. This prevents ugly rectangles in
some desktops.
* Source/GSDragView.m (-_clearupWindow): Set NSZeroRect as frame before
order out the GSRawWindow. This prevents ugly rectangles in
some desktops.
2012-09-13 German A. Arias <german@xelalug.org>
* Source/NSCursor.m (-set): Set an standard cursor image (GSArrowCursor)

View file

@ -417,6 +417,7 @@ static GSDragView *sharedDragView = nil;
- (void) _clearupWindow
{
[_window setFrame: NSZeroRect display: NO];
[_window orderOut: nil];
}

View file

@ -547,6 +547,7 @@ static BOOL restoreMouseMoved;
}
if (window != nil)
{
[window setFrame: NSZeroRect display: NO];
[window orderOut:self];
}
if (restoreMouseMoved == YES)