changeset 21764:9d02cc13f771

(x_display_cursor): Use FRAME_CURSOR_X_LIMIT.
author Richard M. Stallman <rms@gnu.org>
date Sat, 25 Apr 1998 23:08:24 +0000
parents b685f9451792
children 747446245094
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Apr 25 23:08:09 1998 +0000
+++ b/src/xterm.c	Sat Apr 25 23:08:24 1998 +0000
@@ -4911,7 +4911,7 @@
 {
   BLOCK_INPUT;
 
- if ((unsigned) x >= FRAME_WIDTH (f) + FRAME_LEFT_SCROLL_BAR_WIDTH (f)
+ if ((unsigned) x >= FRAME_CURSOR_X_LIMIT (f)
       || (unsigned) y >= FRAME_HEIGHT (f))
     abort ();