1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

Merge from origin/emacs-25

06cb28f Fix bug#23462: Crash when iconifying frame on OS X.
This commit is contained in:
Paul Eggert 2016-05-26 12:41:38 -07:00
commit 17b8d63057

View file

@ -1612,7 +1612,12 @@ x_iconify_frame (struct frame *f)
[[view window] orderOut: NSApp];
[[view window] setFrame: t display: NO];
}
/* Processing input while Emacs is being minimized can cause a
crash, so block it for the duration. */
block_input();
[[view window] miniaturize: NSApp];
unblock_input();
}
/* Free X resources of frame F. */