Xref: utzoo comp.sys.amiga:20412 comp.sys.amiga.tech:1102
Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!teknowledge-vaxc!sri-unix!quintus!pds
From: pds@quintus.uucp (Peter Schachte)
Newsgroups: comp.sys.amiga,comp.sys.amiga.tech
Subject: Re: Active Window (Re: An annoying feature of 1.1,1.2, etc that I want gone)
Keywords: Suggestion
Message-ID: <137@quintus.UUCP>
Date: 24 Jun 88 21:59:20 GMT
References: <4023@pasteur.Berkeley.Edu> <135@quintus.UUCP> <2166@sugar.UUCP> <339@boing.UUCP>
Sender: news@quintus.UUCP
Reply-To: pds@quintus.UUCP (Peter Schachte)
Organization: Quintus Computer Systems, Inc.
Lines: 29

In article <339@boing.UUCP> dale@boing.UUCP (Dale Luck) writes:
>In article <2166@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes:
>=In article <135@quintus.UUCP=, pds@quintus.uucp (Peter Schachte) writes:
>== Suppose when intuition took the "focus" (keyboard ownership) from window
>== A and gave it to window B, it recorded the fact that A was the previous
>== owner in B. Then, when B is closed, ownership is given back to A.
>=
>= When you open a window it records what the active window was when it opened.
>= When it closes, it reactivates that window (if it's open).
>
>I don't think this is the proper way of handling input refocusing either.
>I would prefer it keep a last active stack, and when I close the window it
>should reactivate the last window I had active before closing this window.

I think that's what I was asking for.  If each window has a pointer to
the window to give focus to if it was active when it closed, this
pointer should be set not only when the window is first opened, but also
every time it is given focus by being clicked in.  Clear as mud?
Wouldn't this be good enough for what you're looking for, Dale?  I
don't think you want a REAL stack, as it would grow pretty fast if you
click around much, unless you took the trouble to remove an element
from the middle of the stack when wanted to add it to the top.  And
that would take time.

If maintained properly, a single pointer per window shoule be good
enough, non?
-Peter Schachte
pds@quintus.uucp
..!sun!quintus!pds