emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 17b8d63 3/9: Merge from origin/emacs-25


From: Paul Eggert
Subject: [Emacs-diffs] master 17b8d63 3/9: Merge from origin/emacs-25
Date: Thu, 26 May 2016 20:22:43 +0000 (UTC)

branch: master
commit 17b8d63057af2f1ad930bfe4bcd3aee5dd8996a4
Merge: fa419c2 06cb28f
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Merge from origin/emacs-25
    
    06cb28f Fix bug#23462: Crash when iconifying frame on OS X.
---
 src/nsterm.m |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/nsterm.m b/src/nsterm.m
index d79e4f4..f2b0d90 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]