# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1179551260 0 # Node ID b5efedfac6ccf56a0b2d877b4a8dc1557dd993db # Parent 49b53895c27f4393f089dac65d5302d4596d65bc (x_calc_absolute_position): Add BLOCK_INPUT around mac_get_window_bounds. diff -r 49b53895c27f -r b5efedfac6cc src/macterm.c --- 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);