From xemacs-m  Fri Feb 28 10:06:37 1997
Received: from CNRI.Reston.VA.US (CNRI.Reston.VA.US [132.151.1.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id KAA07141
	for <xemacs-beta@xemacs.org>; Fri, 28 Feb 1997 10:06:36 -0600 (CST)
Received: from newcnri.cnri.reston.va.us by CNRI.Reston.VA.US id aa11767;
          28 Feb 97 11:05 EST
Received: from anthem.CNRI.Reston.Va.US by newcnri.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id LAA11542; Fri, 28 Feb 1997 11:05:30 -0500
Received: by anthem.CNRI.Reston.Va.US (SMI-8.6/SMI-SVR4)
	id LAA01220; Fri, 28 Feb 1997 11:05:28 -0500
Date: Fri, 28 Feb 1997 11:05:28 -0500
Message-Id: <199702281605.LAA01220@anthem.CNRI.Reston.Va.US>
From: "Barry A. Warsaw" <bwarsaw@anthem.cnri.reston.va.us>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Jan Vroonhof <vroonhof@math.ethz.ch>
Cc: xemacs-beta@xemacs.org, dkindred@cmu.edu
Subject: Re: 19.15b95: delayed redisplay bug [w/ PATCH]
References: <9702272040.AA37950@GS213.SP.CS.CMU.EDU>
	<m2zpwpoo7o.fsf@altair.xemacs.org>
	<by67zdb6ng.fsf@math.ethz.ch>
Reply-To: bwarsaw@python.org
X-Attribution: BAW
X-Oblique-Strategy: The tape is now the music
X-Url: http://www.python.org/~bwarsaw


>>>>> "JV" == Jan Vroonhof <vroonhof@math.ethz.ch> writes:

    JV> It should be not so difficult to fix that. I think best would
    JV> be to change f->visible into a tristate flag. With

    f->visible = 0            (Window is unmapped)
    f->visible = 1            (Mapped and X-visible)
    f->visible = -1           (Mappend and X-invisble)

This has relevence to our focus discussions a while back.  If I was to
implement true locally-active focus, I'd want to know all three of
these states for every window.  So if I were to hit "C-x 5 o" I'd want
focus thrown to the next Mapped and X-visible frame.  Of course, I
might or might not also want to limit focus throwing to the current
device (i.e. to an X frame on my :0.1 screen).  Alternatively, I might
want to throw to a mapped but X-invisible frame, but also have a hook
to cause my window manager to switch to that page, so the frame that
has focus would be visible.

If I could test for all three of these states, this stuff could be
implemented in lisp fairly straightforwardly I think.

-Barry

