mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-17 06:54:42 +03:00
Accept urls as arguments to the OSX binary and open them in different windows.
svn path=/trunk/netsurf/; revision=12240
This commit is contained in:
parent
769011911c
commit
06f80d731f
@ -179,7 +179,13 @@ int main( int argc, char **argv )
|
||||
|
||||
netsurf_init(&argc, &argv, options, messages);
|
||||
|
||||
[cocoa_prepare_app() run];
|
||||
NSApplication *app = cocoa_prepare_app();
|
||||
|
||||
for (int i = 1; i < argc; i++) {
|
||||
browser_window_create( argv[i], NULL, NULL, true, false );
|
||||
}
|
||||
|
||||
[app run];
|
||||
|
||||
netsurf_exit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user