aboutsummaryrefslogtreecommitdiffstats
path: root/src/macterm.c
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2007-05-19 05:08:05 +0000
committerYAMAMOTO Mitsuharu2007-05-19 05:08:05 +0000
commit1d5bcd55d51e0621d9344ff9445b1cbc49eea79a (patch)
treee2d1150dddbf7841ae7d6899f32db9b17b05af91 /src/macterm.c
parentde9606f01da32e4070bf7908ef4cf9ba835e4b6f (diff)
downloademacs-1d5bcd55d51e0621d9344ff9445b1cbc49eea79a.tar.gz
emacs-1d5bcd55d51e0621d9344ff9445b1cbc49eea79a.zip
(x_calc_absolute_position): Add BLOCK_INPUT around
mac_get_window_bounds.
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c
index 1acb521f47b..9c1a151f4a9 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -6084,7 +6084,9 @@ x_calc_absolute_position (f)
6084 6084
6085 /* Find the offsets of the outside upper-left corner of 6085 /* Find the offsets of the outside upper-left corner of
6086 the inner window, with respect to the outer window. */ 6086 the inner window, with respect to the outer window. */
6087 BLOCK_INPUT;
6087 mac_get_window_bounds (f, &inner, &outer); 6088 mac_get_window_bounds (f, &inner, &outer);
6089 UNBLOCK_INPUT;
6088 6090
6089 width_diff = (outer.right - outer.left) - (inner.right - inner.left); 6091 width_diff = (outer.right - outer.left) - (inner.right - inner.left);
6090 height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top); 6092 height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top);