We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056c7f5 commit e999e89Copy full SHA for e999e89
modules/javafx.graphics/src/main/native-glass/mac/GlassApplication.m
@@ -474,6 +474,21 @@ - (BOOL)application:(NSApplication *)theApplication openTempFile:(NSString *)fil
474
return YES;
475
}
476
477
+- (void) application:(NSApplication *)theApplication openURLs:(NSArray<NSURL *> *)urls
478
+{
479
+ for (NSURL* url in urls) {
480
+ NSDictionary *userInfo = @{
481
+ @"name": @"openURL",
482
+ @"url": url.absoluteString
483
+ };
484
+
485
+ [[NSNotificationCenter defaultCenter]
486
+ postNotificationName:@"EmbeddedEvent"
487
+ object:nil
488
+ userInfo:userInfo];
489
+ }
490
+}
491
492
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
493
{
494
LOG("GlassApplication:applicationShouldOpenUntitledFile");
0 commit comments