summaryrefslogtreecommitdiff
path: root/xc/programs/xterm/button.c
diff options
context:
space:
mode:
authorjim <empty>1989-01-04 11:14:32 +0000
committerjim <empty>1989-01-04 11:14:32 +0000
commitba47a31361a919b750eb74b996f8e87e748130ae (patch)
treea0e4f173381827bf714089f0ef734a607207107f /xc/programs/xterm/button.c
parent7d8c67ffe51022197d61072abfa2843577b85a89 (diff)
fix for extend select being hosed while scrolled
Diffstat (limited to 'xc/programs/xterm/button.c')
-rw-r--r--xc/programs/xterm/button.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xc/programs/xterm/button.c b/xc/programs/xterm/button.c
index ba5ff4a2f..f8f9b97ae 100644
--- a/xc/programs/xterm/button.c
+++ b/xc/programs/xterm/button.c
@@ -1,5 +1,5 @@
/*
- * $XConsortium: button.c,v 1.27 89/01/03 16:17:57 jim Exp $
+ * $XConsortium: button.c,v 1.28 89/01/04 10:36:55 jim Exp $
*/
@@ -35,7 +35,7 @@ button.c Handles button events in the terminal emulator.
J. Gettys.
*/
#ifndef lint
-static char rcs_id[] = "$XConsortium: button.c,v 1.27 89/01/03 16:17:57 jim Exp $";
+static char rcs_id[] = "$XConsortium: button.c,v 1.28 89/01/04 10:36:55 jim Exp $";
#endif /* lint */
#include <X11/Xos.h>
#include <X11/Xlib.h>
@@ -608,6 +608,8 @@ register int amount;
if (rawRow < minrow) rawRow = minrow;
if (screen->startHRow < minrow) screen->startHRow = minrow;
if (screen->endHRow < minrow) screen->endHRow = minrow;
+ screen->startHCoord = Coordinate (screen->startHRow, 0);
+ screen->endHCoord = Coordinate (screen->endHRow, 0);
}