GNU bug report logs -
#36672
27.0.50; NS build: Creating child frame leads to empty space
Previous Next
Full log
Message #29 received at 36672 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alan Third <alan <at> idiocy.org> writes:
> Thanks! This looks much better than what we had before. No crashes for
> one!
>
> A few nitpicks:
>
>> + BOOL is_fullscreen_transition;
>
> I may be misunderstanding this, but would ‘in_fullscreen_transition’
> be a better name?
OK, renamed.
> Opening braces go on a new line.
Braces style is fixed to match Emacs code style.
> And again. That ‘} else {’ should also be over three lines.
>
>> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
>> @@ -7932,9 +7998,14 @@ - (void)toggleFullScreen: (id)sender
>> {
>> #if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
>> #if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
>> - if ([[self window] respondsToSelector: @selector(toggleFullScreen:)])
>> + if ([[self window] respondsToSelector: @selector(toggleFullScreen:)]){
>> #endif
>> [[self window] toggleFullScreen:sender];
>> + // wait for fullscreen animation complete (bug#28496)
>> + [self waitFullScreenTransition];
>> +#endif
>> +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
>> + }
>> #endif
>> return;
>> }
>
> Should that final #if #endif not be within the outer #if #endif?
Yes. Fixed.
Thanks!
Please see attached patch. Log message is also provided.
[0001-NS-child-frame-in-native-fullscreen.patch (text/x-patch, attachment)]
This bug report was last modified 5 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.