diff options
author | Herbert Dürr <hdu@apache.org> | 2014-02-24 09:49:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:36:39 +0000 |
commit | 2c7528552d901f855224b6a35dcc768d42ddaec6 (patch) | |
tree | bc250d580bdd36eb51cf15b47121db36fd4f10bc /vcl/inc/osx | |
parent | 03bdbcb42aa3be6932d390eeaa14ee2e4d45a172 (diff) |
Resolves: #i119006# delay Mac initial event until the app has launched
delaying the initial event prevents complaints from OSX>=10.7's "windows
restore" feature to recur infinitely. Apparently OSX cleans things up for us
just before we get the applicationDidFinishLaunching() callback.
(cherry picked from commit 0f3712ff654c740f3593b9580f34cdfe21ac3250)
Conflicts:
vcl/osx/salinst.cxx
Change-Id: I0f1d59f03ffe4efc7c9a73fa881151fa06af5424
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r-- | vcl/inc/osx/vclnsapp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/osx/vclnsapp.h b/vcl/inc/osx/vclnsapp.h index 38ad251e8bf2..541b509946a1 100644 --- a/vcl/inc/osx/vclnsapp.h +++ b/vcl/inc/osx/vclnsapp.h @@ -38,6 +38,7 @@ class AquaSalFrame; @interface VCL_NSApplication : NSApplication { } +-(void)applicationDidFinishLaunching:(NSNotification*)pNotification; -(void)sendEvent:(NSEvent*)pEvent; -(void)sendSuperEvent:(NSEvent*)pEvent; -(NSMenu*)applicationDockMenu:(NSApplication *)sender; |