FIRE-11882: Going fullscreen in OS X fails while inworld - patch from Cinder Roxley

--HG--
branch : Firestorm_4.6.5
master
Whirly 2014-05-04 15:47:53 +01:00
parent ad3b28756c
commit ec8da7c32f
1 changed files with 10 additions and 4 deletions

View File

@ -94,8 +94,11 @@ attributedStringInfo getSegments(NSAttributedString *str)
// Force a high quality update after live resizing
- (void) viewDidEndLiveResize
{
NSSize size = [self frame].size;
callResize(size.width, size.height);
if (NSAppKitVersionNumber < NSAppKitVersionNumber10_7)
{
NSSize size = [self frame].size;
callResize(size.width, size.height);
}
}
- (unsigned long)getVramSize
@ -126,8 +129,11 @@ attributedStringInfo getSegments(NSAttributedString *str)
- (void)windowResized:(NSNotification *)notification;
{
//NSSize size = [self frame].size;
//callResize(size.width, size.height);
if (NSAppKitVersionNumber >= NSAppKitVersionNumber10_7)
{
NSSize size = [self frame].size;
callResize(size.width, size.height);
}
}
- (void)dealloc