]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove NS non-native fullscreen pause (bug#28443)
authorAaron Jensen <aaronjensen@gmail.com>
Sun, 17 Nov 2024 04:32:41 +0000 (20:32 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 27 Nov 2024 19:54:59 +0000 (20:54 +0100)
* src/nsterm.m (ns_fullscreen_hook): Remove timer workaround

(cherry picked from commit 20aa29b03739c496106f166ef84562c602b9ddb2)

src/nsterm.m

index 47ce20455c52a2cd3bd74bb7c577efd9d7844300..dabc36ce01856e8fbaad11bbb743bb20c6b69f07 100644 (file)
@@ -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 ();