mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 10:11:15 +00:00
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:
parent
22d8c6313a
commit
ad31dc92eb
3 changed files with 11 additions and 0 deletions
|
@ -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>
|
2012-09-13 German A. Arias <german@xelalug.org>
|
||||||
|
|
||||||
* Source/NSCursor.m (-set): Set an standard cursor image (GSArrowCursor)
|
* Source/NSCursor.m (-set): Set an standard cursor image (GSArrowCursor)
|
||||||
|
|
|
@ -417,6 +417,7 @@ static GSDragView *sharedDragView = nil;
|
||||||
|
|
||||||
- (void) _clearupWindow
|
- (void) _clearupWindow
|
||||||
{
|
{
|
||||||
|
[_window setFrame: NSZeroRect display: NO];
|
||||||
[_window orderOut: nil];
|
[_window orderOut: nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -547,6 +547,7 @@ static BOOL restoreMouseMoved;
|
||||||
}
|
}
|
||||||
if (window != nil)
|
if (window != nil)
|
||||||
{
|
{
|
||||||
|
[window setFrame: NSZeroRect display: NO];
|
||||||
[window orderOut:self];
|
[window orderOut:self];
|
||||||
}
|
}
|
||||||
if (restoreMouseMoved == YES)
|
if (restoreMouseMoved == YES)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue