Fix NS non-native fullscreen on initial frame load (bug#59790)
* src/nsterm.m ([EmacsView toggleFullScreen:]): Reset fs_is_native
This commit is contained in:
parent
8261d7224d
commit
03ae07291e
1 changed files with 5 additions and 0 deletions
|
@ -8522,6 +8522,11 @@ - (void)toggleFullScreen: (id)sender
|
|||
|
||||
NSTRACE ("[EmacsView toggleFullScreen:]");
|
||||
|
||||
/* Reset fs_is_native to value of ns-use-native-full-screen if not
|
||||
fullscreen already */
|
||||
if (fs_state != FULLSCREEN_BOTH)
|
||||
fs_is_native = ns_use_native_fullscreen;
|
||||
|
||||
if (fs_is_native)
|
||||
{
|
||||
#if defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
||||
|
|
Loading…
Add table
Reference in a new issue