summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorElijah Newren <newren gmail com>2006-10-01 18:10:24 +0000
committerElijah Newren <newren@src.gnome.org>2006-10-01 18:10:24 +0000
commitb694312f1c8cfc25fb8f1f27c23a4c8843351cb1 (patch)
tree116270bed9c1e9528a8048d8a927eb530e025da6 /doc
parent3cca3f3ee9f758d6a72f1bae6bffc72245f3202c (diff)
downloadmutter-b694312f1c8cfc25fb8f1f27c23a4c8843351cb1.tar.gz
Fix longstanding focus bug with mouse (not sloppy) focus mode with popup
2006-10-01 Elijah Newren <newren gmail com> Fix longstanding focus bug with mouse (not sloppy) focus mode with popup override-redirect windows, particularly mozilla and firefox's location bar autocompletion. #357695. * src/display.c (event_callback -- EnterNotify & LeaveNotify events): for mouse focus, defocus the focused window when the mouse enters the desktop window rather than when the mouse leaves the focused window. * doc/how-to-get-focus-right.txt: update for the slightly nuanced definition of mouse focus (people without a DESKTOP window like nautilus get sloppy focus behavior now)
Diffstat (limited to 'doc')
-rw-r--r--doc/how-to-get-focus-right.txt15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/how-to-get-focus-right.txt b/doc/how-to-get-focus-right.txt
index ccef49323..c7d807be9 100644
--- a/doc/how-to-get-focus-right.txt
+++ b/doc/how-to-get-focus-right.txt
@@ -9,7 +9,8 @@ basics are easy:
Focus method Behavior
click When a user clicks on a window, focus it
sloppy When an EnterNotify is received, focus the window
- mouse Same as sloppy, but also defocus on LeaveNotify
+ mouse Same as sloppy, but also defocus when mouse enters DESKTOP
+ window
Note that these choices (along with the choice that clicking on a
window raises it for the click focus method) introduces the following
@@ -20,8 +21,9 @@ Focus method Invariant
sloppy If the mouse is in a window, then it is focused; if the
mouse is not in a window, then the most recently used
window is focused.
- mouse If the mouse is in a window, then it is focused; otherwise,
- the designated "no_focus_window" is focused
+
+ mouse If the mouse is in a non-DESKTOP window, then it is focused;
+ otherwise, the designated "no_focus_window" is focused
However, there are a number of cases where the current focus window
becomes invalid and another should be chosen. Some examples are when
@@ -34,8 +36,10 @@ Focus method Behavior
on top)
sloppy Focus the window containing the pointer if there is such
a window, otherwise focus the most recently used window.
- mouse Focus the window containing the pointer if there is one,
- otherwise focus the designated "no_focus_window".
+
+ mouse Focus the non-DESKTOP window containing the pointer if
+ there is one, otherwise focus the designated
+ "no_focus_window".
Note that "most recently used window", as used here, has a slightly
different connotation than "most recent to have keyboard focus". This
@@ -123,6 +127,7 @@ To read more about the bugs that inspired these choices:
- Mousenav vs. Keynav in mouse and sloppy focus modes
http://bugzilla.gnome.org/show_bug.cgi?id=167545
http://bugzilla.gnome.org/show_bug.cgi?id=101190
+ http://bugzilla.gnome.org/show_bug.cgi?id=357695
- Not focusing panels
http://bugzilla.gnome.org/show_bug.cgi?id=160470
http://bugzilla.gnome.org/show_bug.cgi?id=120100