Mercurial > emacs
changeset 15495:94467271b641
(x_real_positions): Don't call x_uncatch_errors twice.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 24 Jun 1996 01:29:37 +0000 |
parents | a544bb3eea53 |
children | 98a141d6f237 |
files | src/xfns.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Sun Jun 23 19:20:33 1996 +0000 +++ b/src/xfns.c Mon Jun 24 01:29:37 1996 +0000 @@ -1003,13 +1003,14 @@ If so, we get an error in XTranslateCoordinates. Detect that and try the whole thing over. */ if (! x_had_errors_p (FRAME_X_DISPLAY (f))) - break; + { + x_uncatch_errors (FRAME_X_DISPLAY (f)); + break; + } x_uncatch_errors (FRAME_X_DISPLAY (f)); } - x_uncatch_errors (FRAME_X_DISPLAY (f)); - *xptr = f->output_data.x->left_pos - win_x; *yptr = f->output_data.x->top_pos - win_y; }