From: Aaron Jensen Date: Sun, 17 Nov 2024 04:32:41 +0000 (-0800) Subject: Remove NS non-native fullscreen pause (bug#28443) X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=74b7052bbad6fde004a3cfd603083c14d544b225;p=emacs.git Remove NS non-native fullscreen pause (bug#28443) * src/nsterm.m (ns_fullscreen_hook): Remove timer workaround (cherry picked from commit 20aa29b03739c496106f166ef84562c602b9ddb2) --- diff --git a/src/nsterm.m b/src/nsterm.m index 47ce20455c5..dabc36ce018 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -1984,16 +1984,6 @@ ns_fullscreen_hook (struct frame *f) if (!FRAME_VISIBLE_P (f)) return; - if (! [view fsIsNative] && f->want_fullscreen == FULLSCREEN_BOTH) - { - /* Old style fs don't initiate correctly if created from - init/default-frame alist, so use a timer (not nice...). */ - [NSTimer scheduledTimerWithTimeInterval: 0.5 target: view - selector: @selector (handleFS) - userInfo: nil repeats: NO]; - return; - } - block_input (); [view handleFS]; unblock_input ();