]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_calc_absolute_position): Add BLOCK_INPUT around
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 19 May 2007 05:08:05 +0000 (05:08 +0000)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 19 May 2007 05:08:05 +0000 (05:08 +0000)
mac_get_window_bounds.

src/ChangeLog
src/macterm.c

index 55cd3a2f60b6d9557b73526f63b6c7a40d168548..9e0ec429552dc3cb7bc50074742ee983df75806b 100644 (file)
@@ -1,3 +1,8 @@
+2007-05-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around
+       mac_get_window_bounds.
+
 2007-05-17  Glenn Morris  <rgm@gnu.org>
 
        * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD.
index 1acb521f47be75f8c69f589b63b95f97d51669bf..9c1a151f4a92f1af4de643801059e47553feddbe 100644 (file)
@@ -6084,7 +6084,9 @@ x_calc_absolute_position (f)
 
   /* 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);