projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8261d72
)
Fix NS non-native fullscreen on initial frame load (bug#59790)
author
Aaron Jensen
<aaronjensen@gmail.com>
Sun, 17 Nov 2024 04:54:59 +0000
(20:54 -0800)
committer
Alan Third
<alan@idiocy.org>
Sun, 24 Nov 2024 11:54:24 +0000
(11:54 +0000)
* src/nsterm.m ([EmacsView toggleFullScreen:]): Reset fs_is_native
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index 97b829d0e4c4970e0c7cb257b202a4afc54a3e74..e311e3654e8f9b6a8dbaa7e2dc34cec2616bcde6 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-8522,6
+8522,11
@@
ns_in_echo_area (void)
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