mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:40:39 +00:00
Allow any window that responds YES to -worksWhenModal to become key in
a modal session. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31714 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d4a93852ff
commit
879c4b2af4
2 changed files with 7 additions and 1 deletions
|
@ -3972,7 +3972,8 @@ resetCursorRectsForView(NSView *theView)
|
|||
[self deminiaturize: self];
|
||||
}
|
||||
if ([NSApp modalWindow]
|
||||
&& self != [NSApp modalWindow])
|
||||
&& self != [NSApp modalWindow]
|
||||
&& ![self worksWhenModal])
|
||||
{
|
||||
/* Ignore this request. We're in a modal loop and the
|
||||
user pressed on the title bar of another window. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue