Remove NS non-native fullscreen pause (bug#28443)

* src/nsterm.m (ns_fullscreen_hook): Remove timer workaround
This commit is contained in:
Aaron Jensen 2024-11-16 20:32:41 -08:00 committed by Alan Third
parent b4655ff99b
commit 20aa29b037

View file

@ -1984,16 +1984,6 @@ Hide the window (X11 semantics)
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 ();