changeset 77752:b5efedfac6cc

(x_calc_absolute_position): Add BLOCK_INPUT around mac_get_window_bounds.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sat, 19 May 2007 05:07:40 +0000
parents 49b53895c27f
children 170674007908
files src/macterm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/macterm.c	Fri May 18 22:56:08 2007 +0000
+++ b/src/macterm.c	Sat May 19 05:07:40 2007 +0000
@@ -6084,7 +6084,9 @@
 
   /* Find the offsets of the outside upper-left corner of
      the inner window, with respect to the outer window.  */
+  BLOCK_INPUT;
   mac_get_window_bounds (f, &inner, &outer);
+  UNBLOCK_INPUT;
 
   width_diff = (outer.right - outer.left) - (inner.right - inner.left);
   height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top);