Remove NS non-native fullscreen pause (bug#28443)
* src/nsterm.m (ns_fullscreen_hook): Remove timer workaround
This commit is contained in:
parent
b4655ff99b
commit
20aa29b037
1 changed files with 0 additions and 10 deletions
10
src/nsterm.m
10
src/nsterm.m
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Reference in a new issue