After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 72238 - New focus mode: enter-click
New focus mode: enter-click
Status: RESOLVED FIXED
Product: Sawfish
Classification: Deprecated
Component: Window Manager
pre-1.3.x
Other All
: Normal enhancement
: 1.5.x
Assigned To: John Harper
John Harper
Depends on:
Blocks:
 
 
Reported: 2002-02-22 11:57 UTC by Dagfinn I. Mannsåker
Modified: 2009-08-16 15:13 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch implementing the enter-click focus mode (1.04 KB, patch)
2002-02-22 11:58 UTC, Dagfinn I. Mannsåker
none Details | Review
updated patch for v1.3.3 (916 bytes, patch)
2008-05-25 07:10 UTC, Christopher Roy Bratusek
none Details | Review

Description Dagfinn I. Mannsåker 2002-02-22 11:57:49 UTC
This patch defines a new focus mode, the union of enter-only and click.

This is useful when one wishes to focus a window that has the mouse pointer
in it (this occurs frequently when the mouse pointer is not warped to
focuesd/cycled windows)
Comment 1 Dagfinn I. Mannsåker 2002-02-22 11:58:33 UTC
Created attachment 6821 [details] [review]
Patch implementing the enter-click focus mode
Comment 2 John Harper 2002-03-02 05:29:56 UTC
Thanks. That looks interesting.

But I'm not sure this is the most logical way to do this. I can see
two alternatives:

1. it's a bug that the pointer can ever be over a non-focused window
in enter-{only,click} modes

2. accept that (1) will happen and make the existing enter- modes
support clicking in unfocused windows to focus them

what do you think?
Comment 3 Dagfinn I. Mannsåker 2002-04-23 18:25:07 UTC
John, I assume you meant "enter-{only,exit}", not
"enter-{only,click}", since enter-click was my implementation of (2)
for the enter-only mode.

Fixing (1) would involve changing warp-to-selected-windows to
warp-to-focused-windows (which does make more sense, especially in the
enter-* modes, IMHO).

I see two ways of doing (2):

a: Substitute my enter-click mode for the existing enter-only mode,
and augment enter-exit with the same functionality (this behaviour
should be controlled by a preference setting).

b: Implement a command focus-and-pass-through-click and bind it to
Button1-click in window context.

I think (a) is the cleanest way of doing it.
Comment 4 Christopher Roy Bratusek 2008-05-25 07:10:36 UTC
Created attachment 111489 [details] [review]
updated patch for v1.3.3

Just a small update to apply against v1.3.3
Comment 5 Christopher Roy Bratusek 2008-08-14 15:14:59 UTC
A modified version has been comitted.