summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-24 01:29:37 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-24 01:29:37 +0000
commita6fc68c6ce0dc93feb6008a91a1a3895d77ec3fe (patch)
tree6b4cac4bf190d20927c05850fec29128b241a119 /src
parente4e8315cfb4918a138fde24d4b4c06c8414c996e (diff)
downloademacs-a6fc68c6ce0dc93feb6008a91a1a3895d77ec3fe.tar.gz
(x_real_positions): Don't call x_uncatch_errors twice.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xfns.c b/src/xfns.c
index aa90a93e147..8896fc46373 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -1003,13 +1003,14 @@ x_real_positions (f, xptr, yptr)
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;
}