mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 03:16:58 +00:00
Make main window key and order to front in Skia/OSX port
This commit is contained in:
parent
851413e2a6
commit
a5a044f333
@ -38,6 +38,7 @@ int OSXApp::run(int argc, char* argv[])
|
||||
|
||||
[app setActivationPolicy:NSApplicationActivationPolicyRegular];
|
||||
[app setDelegate:appDelegate];
|
||||
[app activateIgnoringOtherApps:YES];
|
||||
|
||||
app_main(argc, argv);
|
||||
return 0;
|
||||
|
@ -49,6 +49,7 @@ using namespace she;
|
||||
[self setDelegate:m_delegate];
|
||||
[self setContentView:view];
|
||||
[self center];
|
||||
[self makeKeyAndOrderFront:self];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user