diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-05-19 05:08:05 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-05-19 05:08:05 +0000 |
commit | 1d5bcd55d51e0621d9344ff9445b1cbc49eea79a (patch) | |
tree | e2d1150dddbf7841ae7d6899f32db9b17b05af91 /src/macterm.c | |
parent | de9606f01da32e4070bf7908ef4cf9ba835e4b6f (diff) | |
download | emacs-1d5bcd55d51e0621d9344ff9445b1cbc49eea79a.tar.gz |
(x_calc_absolute_position): Add BLOCK_INPUT around
mac_get_window_bounds.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 2 |
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) /* 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); |