8074668: [macosx] Mac 10.10: Application run with splash screen has focus issues
Reviewed-by: prr, ant, alexsch
This commit is contained in:
parent
cac7e38c8d
commit
3c9eab317a
@ -131,11 +131,7 @@ char* SplashGetScaledImageName(const char* jar, const char* file,
|
||||
NSAutoreleasePool *pool = [NSAutoreleasePool new];
|
||||
*scaleFactor = 1;
|
||||
char* scaledFile = nil;
|
||||
__block float screenScaleFactor = 1;
|
||||
|
||||
[ThreadUtilities performOnMainThreadWaiting:YES block:^(){
|
||||
screenScaleFactor = [SplashNSScreen() backingScaleFactor];
|
||||
}];
|
||||
float screenScaleFactor = 1;
|
||||
|
||||
if (screenScaleFactor > 1) {
|
||||
NSString *fileName = [NSString stringWithUTF8String: file];
|
||||
|
@ -36,7 +36,7 @@ import javax.imageio.ImageIO;
|
||||
import sun.java2d.SunGraphics2D;
|
||||
|
||||
/**
|
||||
* @test
|
||||
* test
|
||||
* @bug 8043869
|
||||
* @author Alexander Scherbatiy
|
||||
* @summary [macosx] java -splash does not honor 2x hi dpi notation for retina
|
||||
|
Loading…
x
Reference in New Issue
Block a user