mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 05:20:48 +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
|
@ -1,3 +1,8 @@
|
|||
2010-12-07 Wolfgang Lux <wolfgang.lux@gmail.com>
|
||||
|
||||
* Source/NSWindow.m (-sendEvent:): Allow any window that responds
|
||||
YES to -worksWhenModal to become key in a modal session.
|
||||
|
||||
2010-12-06 Riccardo Mottola
|
||||
|
||||
* Source/NSWorkspace.m
|
||||
|
|
|
@ -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