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