mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:50:47 +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
|
@ -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