emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 b4f4075: Fixes: debbugs:19660


From: Jan D.
Subject: [Emacs-diffs] emacs-24 b4f4075: Fixes: debbugs:19660
Date: Sat, 24 Jan 2015 09:57:32 +0000

branch: emacs-24
commit b4f40757efcb67ed73ca60c257e27dab493ee332
Author: Jan D <address@hidden>
Commit: Jan D <address@hidden>

    Fixes: debbugs:19660
    
    * nsterm.m (drawRect:): Add block/unblock_input.
---
 src/ChangeLog |    4 ++++
 src/nsterm.m  |    2 ++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 43e5641..9cf5eb5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2015-01-24  Jan Djärv  <address@hidden>
+
+       * nsterm.m (drawRect:): Add block/unblock_input (Bug#19660).
+
 2015-01-21  Paul Eggert  <address@hidden>
 
        Fix coding.c subscript error
diff --git a/src/nsterm.m b/src/nsterm.m
index 24770f6..08b8e3a 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6750,7 +6750,9 @@ if (cols > 0 && rows > 0)
     return;
 
   ns_clear_frame_area (emacsframe, x, y, width, height);
+  block_input ();
   expose_frame (emacsframe, x, y, width, height);
+  unblock_input ();
 
   /*
     drawRect: may be called (at least in OS X 10.5) for invisible



reply via email to

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