Mercurial > emacs
comparison src/xfns.c @ 69173:fdee8318ddc9
* xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary
argument.
* xterm.c: (x_load_font, x_term_init, XTmouse_position)
(handle_one_xevent, x_connection_closed, x_list_fonts): No arg for
x_uncatch_errors.
* xselect.c (x_own_selection, x_decline_selection_request)
(x_reply_selection_request, x_get_foreign_selection)
(Fx_get_atom_name, Fx_send_client_event): Likewise.
* xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame):
Likewise.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 27 Feb 2006 03:35:31 +0000 |
parents | f2147c1027b6 |
children | 26f292c725f1 8976b9f5eda1 5754737d1e04 |
comparison
equal
deleted
inserted
replaced
69172:e22243af3267 | 69173:fdee8318ddc9 |
---|---|
664 } | 664 } |
665 | 665 |
666 had_errors = x_had_errors_p (FRAME_X_DISPLAY (f)); | 666 had_errors = x_had_errors_p (FRAME_X_DISPLAY (f)); |
667 } | 667 } |
668 | 668 |
669 x_uncatch_errors (FRAME_X_DISPLAY (f)); | 669 x_uncatch_errors (); |
670 | 670 |
671 UNBLOCK_INPUT; | 671 UNBLOCK_INPUT; |
672 | 672 |
673 if (had_errors) return; | 673 if (had_errors) return; |
674 | 674 |
1019 horizontal_drag_cursor | 1019 horizontal_drag_cursor |
1020 = XCreateFontCursor (dpy, XC_sb_h_double_arrow); | 1020 = XCreateFontCursor (dpy, XC_sb_h_double_arrow); |
1021 | 1021 |
1022 /* Check and report errors with the above calls. */ | 1022 /* Check and report errors with the above calls. */ |
1023 x_check_errors (dpy, "can't set cursor shape: %s"); | 1023 x_check_errors (dpy, "can't set cursor shape: %s"); |
1024 x_uncatch_errors (dpy); | 1024 x_uncatch_errors (); |
1025 | 1025 |
1026 { | 1026 { |
1027 XColor fore_color, back_color; | 1027 XColor fore_color, back_color; |
1028 | 1028 |
1029 fore_color.pixel = x->mouse_pixel; | 1029 fore_color.pixel = x->mouse_pixel; |
3441 | 3441 |
3442 BLOCK_INPUT; | 3442 BLOCK_INPUT; |
3443 x_catch_errors (dpy); | 3443 x_catch_errors (dpy); |
3444 XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), | 3444 XSetInputFocus (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), |
3445 RevertToParent, CurrentTime); | 3445 RevertToParent, CurrentTime); |
3446 x_uncatch_errors (dpy); | 3446 x_uncatch_errors (); |
3447 UNBLOCK_INPUT; | 3447 UNBLOCK_INPUT; |
3448 | 3448 |
3449 return Qnil; | 3449 return Qnil; |
3450 } | 3450 } |
3451 | 3451 |