comparison src/xterm.c @ 90365:a802c5505156

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-43 Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 148-156) - Update from CVS - Merge from gnus--rel--5.10 - Remove nick-abbrevs stuff from rcirc.el - rcirc.el update from Ryan Yeske * gnus--rel--5.10 (patch 57) - Copy/update icons from Gnus trunk
author Miles Bader <miles@gnu.org>
date Mon, 13 Mar 2006 12:19:58 +0000
parents 5754737d1e04 1fe13d52e977
children e3bacb89536a
comparison
equal deleted inserted replaced
90364:494bf720eaf0 90365:a802c5505156
7232 GCForeground, &xgcv); 7232 GCForeground, &xgcv);
7233 gc = dpyinfo->scratch_cursor_gc; 7233 gc = dpyinfo->scratch_cursor_gc;
7234 7234
7235 /* Set clipping, draw the rectangle, and reset clipping again. */ 7235 /* Set clipping, draw the rectangle, and reset clipping again. */
7236 x_clip_to_row (w, row, TEXT_AREA, gc); 7236 x_clip_to_row (w, row, TEXT_AREA, gc);
7237 XDrawRectangle (dpy, FRAME_X_WINDOW (f), gc, x, y, wd, h); 7237 XDrawRectangle (dpy, FRAME_X_WINDOW (f), gc, x, y, wd, h - 1);
7238 XSetClipMask (dpy, gc, None); 7238 XSetClipMask (dpy, gc, None);
7239 } 7239 }
7240 7240
7241 7241
7242 /* Draw a bar cursor on window W in glyph row ROW. 7242 /* Draw a bar cursor on window W in glyph row ROW.
7642 void 7642 void
7643 x_clear_errors (dpy) 7643 x_clear_errors (dpy)
7644 Display *dpy; 7644 Display *dpy;
7645 { 7645 {
7646 x_error_message->string[0] = 0; 7646 x_error_message->string[0] = 0;
7647 }
7648
7649 /* Close off all unclosed x_catch_errors calls. */
7650
7651 void
7652 x_fully_uncatch_errors ()
7653 {
7654 while (x_error_message)
7655 x_uncatch_errors ();
7656 }
7657
7658 /* Nonzero if x_catch_errors has been done and not yet canceled. */
7659
7660 int
7661 x_catching_errors ()
7662 {
7663 return x_error_message != 0;
7647 } 7664 }
7648 7665
7649 #if 0 7666 #if 0
7650 static unsigned int x_wire_count; 7667 static unsigned int x_wire_count;
7651 x_trace_wire () 7668 x_trace_wire ()