From 486df2ed4dc2ec8d6377d379f61573188f4ba390 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 6 Jan 1995 01:02:39 +0000 Subject: [PATCH] Don't allow the mouse to select the typein window if it is inactive. --- v7/src/edwin/edtfrm.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/v7/src/edwin/edtfrm.scm b/v7/src/edwin/edtfrm.scm index 801629dd9..eedb68d73 100644 --- a/v7/src/edwin/edtfrm.scm +++ b/v7/src/edwin/edtfrm.scm @@ -1,8 +1,8 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: edtfrm.scm,v 1.87 1993/08/10 06:35:44 cph Exp $ +;;; $Id: edtfrm.scm,v 1.88 1995/01/06 01:02:39 cph Exp $ ;;; -;;; Copyright (c) 1985, 1989-93 Massachusetts Institute of Technology +;;; Copyright (c) 1985, 1989-95 Massachusetts Institute of Technology ;;; ;;; This material was developed by the Scheme project at the ;;; Massachusetts Institute of Technology, Department of @@ -190,7 +190,10 @@ (if frame ;; Make sure the event is inside the text portion of the ;; buffer, not in the modeline or other decoration. - (cond ((and (< -1 relative-x (buffer-frame-x-size frame)) + (cond ((and (or (not (eq? frame + (editor-frame-typein-window editor-frame))) + (within-typein-edit?)) + (< -1 relative-x (buffer-frame-x-size frame)) (< -1 relative-y (buffer-frame-y-size frame)) (local-comtab-entry (buffer-comtabs (window-buffer frame)) -- 2.25.1