diff --git a/ChangeLog b/ChangeLog index 338d929e8..755de732a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-12-07 Wolfgang Lux + + * 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 diff --git a/Source/NSWindow.m b/Source/NSWindow.m index 77ced406f..dd930a17b 100644 --- a/Source/NSWindow.m +++ b/Source/NSWindow.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. */