mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:41:07 +00:00
Try to handle the case better, where GNUstep manages the mini window and
the window decoration itself. Based on patch by Stefan Bidigaray <stefanbidi@gmail.com>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25512 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ac563421a4
commit
b3ce13417d
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-10-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSWindow.m (-deminiaturize:, -miniaturize:): Try to
|
||||
handle the case better, where GNUstep manages the mini window and
|
||||
the window decoration itself.
|
||||
Based on patch by Stefan Bidigaray <stefanbidi@gmail.com>.
|
||||
|
||||
2007-10-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSPopUpButtonCell.m (-cellSize): Don't return zero size,
|
||||
|
|
|
@ -2631,7 +2631,6 @@ resetCursorRectsForView(NSView *theView)
|
|||
if (!_f.is_miniaturized)
|
||||
return;
|
||||
|
||||
#if 0
|
||||
/* At least with X-Windows, the counterpart is tied to us, so it will
|
||||
automatically be ordered out when we are deminiaturized */
|
||||
if (_counterpart != 0)
|
||||
|
@ -2640,7 +2639,7 @@ resetCursorRectsForView(NSView *theView)
|
|||
|
||||
[mini orderOut: self];
|
||||
}
|
||||
#endif
|
||||
|
||||
_f.is_miniaturized = NO;
|
||||
[self makeKeyAndOrderFront: self];
|
||||
[self _didDeminiaturize: sender];
|
||||
|
@ -2722,6 +2721,8 @@ resetCursorRectsForView(NSView *theView)
|
|||
NSWindow *mini = GSWindowWithNumber(_counterpart);
|
||||
|
||||
[mini orderFront: self];
|
||||
// If the window is still visible, order it out.
|
||||
[self orderOut: self];
|
||||
}
|
||||
[nc postNotificationName: NSWindowDidMiniaturizeNotification
|
||||
object: self];
|
||||
|
|
Loading…
Reference in a new issue