Merge pull request #27 from trunkmaster/master

Reduce number of appicon flickering cases
This commit is contained in:
Fred Kiefer 2019-04-08 18:48:52 +02:00 committed by GitHub
commit 09576eb231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2019-04-08 Sergii Stoian <stoyan255@ukr.net>
* Source/NSApplication.m (becomesKeyOnlyIfNeeded): override NSWindow
methodin appicon to reduce number of order front calls. The source
of the call is NSWindow's sendEvent:.
2019-04-06 Sergii Stoian <stoyan255@ukr.net>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h,

View file

@ -434,6 +434,11 @@ NSApplication *NSApp = nil;
return NO;
}
- (BOOL) becomesKeyOnlyIfNeeded
{
return YES;
}
- (BOOL) worksWhenModal
{
return YES;