]> code.delx.au - gnu-emacs/blobdiff - src/nsterm.m
Simplify read_dirent's MSDOS hacks
[gnu-emacs] / src / nsterm.m
index ee1268ef8506ccf9bf54fe9a8c627e80a6db4243..e90c3d70db3b3b98270367cf1f5fdba18bbe7652 100644 (file)
@@ -6773,7 +6773,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