cocoa: make sure app wakes up on file event
original commit: bc0c2075fd5999188773fc19994731f6e60c23a2
This commit is contained in:
parent
5c61b1f216
commit
d11a50bd6d
|
@ -75,7 +75,8 @@
|
|||
#t]
|
||||
[-a _BOOL (application: [_id theApplication] openFile: [_NSString filename])
|
||||
(set! got-file? #t)
|
||||
(queue-file-event (string->path filename))]
|
||||
(queue-file-event (string->path filename))
|
||||
(post-dummy-event)]
|
||||
[-a _void (applicationDidFinishLaunching: [_id notification])
|
||||
(unless got-file?
|
||||
(queue-start-empty-event))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user