Mercurial > emacs
diff src/macterm.c @ 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 | 7bb1d577f961 |
| children | 4632b6698419 0a3247aa24a4 31beec9ee600 |
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);
