mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 21:31:56 +00:00
Fix for miniwindows not being drawn properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f99195e38a
commit
71aa65b056
3 changed files with 16 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSMenu.m: ([_updateUserDefaults:]) restore saved menu
|
||||
* Source/NSMenu.m: ([-_updateUserDefaults:]) restore saved menu
|
||||
location functionality (was only working for torn off menus).
|
||||
* Source/NSWindow: ([-miniaturise:]) order the counterpart window
|
||||
in so that it gets drawn properly.
|
||||
|
||||
2003-03-06 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
|
||||
|
||||
|
|
|
@ -2262,6 +2262,17 @@ resetCursorRectsForView(NSView *theView)
|
|||
[srv miniwindow: _windowNum];
|
||||
_f.visible = NO;
|
||||
|
||||
/*
|
||||
* We must order the miniwindow in so that we will start sending
|
||||
* it -_handleWindowNeedsDisplay: messages to tell it to display
|
||||
* itsself when neccessary.
|
||||
*/
|
||||
if (_counterpart != 0)
|
||||
{
|
||||
NSWindow *mini = GSWindowWithNumber(_counterpart);
|
||||
|
||||
[mini orderFront: self];
|
||||
}
|
||||
[nc postNotificationName: NSWindowDidMiniaturizeNotification
|
||||
object: self];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue