Focus-follows-mouse and pass-window-activation-click

Hernan Tylim htylim at yahoo.com.ar
Wed Nov 26 17:04:30 UTC 2003


Hi
	I made a change set with Andreas' tweak to SystemWindow>>mouseDown:. I made
it for myself but here it is if someone is interested. (I hope you don't
mind Andreas)

from the preamble:

Change Set:		passWindowActivationClick
Date:			26 November 2003
Author:		Hernan Pablo Tylim

This change set is Andreas' quick tweak to SystemWindow>>mouseDown: to make
windows activation click be forwarded to its submorphs.

See Andreas mail here: http://groups.yahoo.com/group/squeak/message/73813.

For your convenience a preference #passWindowActivationClick has been added,
and additionaly, pressing shift while clicking on a pasive window will also
stop the click to be forwarded to the submorphs when the preference is
enabled.

Regards,
Hernan

> -----Mensaje original-----
> De: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]En nombre de
> Julian Fitzell
> Enviado el: Domingo, 23 de Noviembre de 2003 18:00
> Para: The general-purpose Squeak developers list
> Asunto: Re: Focus-follows-mouse and pass-window-activation-click
>
>
> Andreas Raab wrote:
> > Hi Cees,
> >
> >
> >>Thanks for the snippets. Why do you think that passing the click on
> >>stinks? Just curious, not argumentative...
> >
> >
> > I think for me it's mostly the lack of keyboard control for switching
> > between windows - if there were a good way of doing this I'd
> use clicks much
> > less and likely be more happy with passing the click through
> then. However,
> > as it stands the majority of cases where I click on windows are
> merely to
> > bring them up to the front and in this situation I don't mean to change
> > anything, not even accidentally. And having to hit precisely
> the title area
> > (or actually: the label area because there are buttons in the
> title frame)
> > or finding a known-not-to-be-problematic area is just too much for me to
> > think about if I want to be efficient. So, yeah, let's put it
> like this: My
> > primary choice would be keyboard navigation between windows, in their
> > absence I'd rather prefer clicks not to change anything in the window.
>
> Or even cooler than keyboard window switching (well, nice to have both I
> guess) would be to implement Expose
> (http://www.apple.com/macosx/features/expose/) for Squeak.  Seems like
> it might be doable since we already do basically that when we shrink
> projects down.  But it would have to be blazingly fast and I have doubts
> whether we could pull it off at the moment.
>
> Julian
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passWindowActivationClick.4.cs
Type: application/octet-stream
Size: 1657 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031126/9a984ed6/passWindowActivationClick.4.obj


More information about the Squeak-dev mailing list