mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 13:37:02 +03:00
Only showing regular browser windows, not frames or iframes.
svn path=/trunk/netsurf/; revision=11366
This commit is contained in:
parent
5105548de6
commit
0d98d39a1a
@ -35,7 +35,10 @@
|
||||
|
||||
NSWindow *win = [self window];
|
||||
[win setAcceptsMouseMovedEvents: YES];
|
||||
|
||||
if (browser->browser_window_type == BROWSER_WINDOW_NORMAL) {
|
||||
[win makeKeyAndOrderFront: self];
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
@ -52,7 +55,9 @@
|
||||
|
||||
- (void)windowWillClose:(NSNotification *)notification;
|
||||
{
|
||||
if (NULL != browser) browser_window_destroy( browser );
|
||||
if (NULL != browser && browser->browser_window_type == BROWSER_WINDOW_NORMAL) {
|
||||
browser_window_destroy( browser );
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -813,7 +813,7 @@
|
||||
<string>{{135, 249}, {691, 632}}</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
<string>{{135, 249}, {691, 632}}</string>
|
||||
<integer value="1"/>
|
||||
<boolean value="NO"/>
|
||||
<string>{196, 240}</string>
|
||||
<string>{{202, 428}, {480, 270}}</string>
|
||||
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
|
||||
|
Loading…
Reference in New Issue
Block a user