diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2006-02-27 03:35:31 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2006-02-27 03:35:31 +0000 |
commit | 4545fa2085b65a310e46b6d599d3998e0a1fe370 (patch) | |
tree | 51285cbdbd8cec969e859b17827f6d21572d0357 /src/xselect.c | |
parent | c50a2aa68292912f11d951bf20b24d79533e0537 (diff) | |
download | emacs-4545fa2085b65a310e46b6d599d3998e0a1fe370.tar.gz |
* 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.
Diffstat (limited to 'src/xselect.c')
-rw-r--r-- | src/xselect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xselect.c b/src/xselect.c index 6efa625543e..a0b4b091805 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -410,7 +410,7 @@ x_own_selection (selection_name, selection_value) x_catch_errors (display); XSetSelectionOwner (display, selection_atom, selecting_window, time); x_check_errors (display, "Can't set selection: %s"); - x_uncatch_errors (display); + x_uncatch_errors (); UNBLOCK_INPUT; /* Now update the local cache */ @@ -586,7 +586,7 @@ x_decline_selection_request (event) x_catch_errors (reply.display); XSendEvent (reply.display, reply.requestor, False, 0L, (XEvent *) &reply); XFlush (reply.display); - x_uncatch_errors (reply.display); + x_uncatch_errors (); UNBLOCK_INPUT; } @@ -860,7 +860,7 @@ x_reply_selection_request (event, format, data, size, type) BLOCK_INPUT; unbind_to (count, Qnil); - x_uncatch_errors (display); + x_uncatch_errors (); UNBLOCK_INPUT; } @@ -1434,7 +1434,7 @@ x_get_foreign_selection (selection_symbol, target_type, time_stamp) BLOCK_INPUT; unbind_to (count, Qnil); x_check_errors (display, "Cannot get selection: %s"); - x_uncatch_errors (display); + x_uncatch_errors (); UNBLOCK_INPUT; if (NILP (XCAR (reading_selection_reply))) @@ -2673,7 +2673,7 @@ If the value is 0 or the atom is not known, return the empty string. */) if (! x_had_errors_p (dpy)) ret = make_string (name, strlen (name)); - x_uncatch_errors (dpy); + x_uncatch_errors (); if (atom && name) XFree (name); if (NILP (ret)) ret = make_string ("", 0); @@ -2849,7 +2849,7 @@ are ignored. */) XSendEvent (dpyinfo->display, wdest, propagate, mask, &event); XFlush (dpyinfo->display); } - x_uncatch_errors (dpyinfo->display); + x_uncatch_errors (); UNBLOCK_INPUT; return Qnil; |