From cffe7e95667b92af5539c69147556169dd224781 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Wed, 15 Sep 2004 16:53:20 +0000 Subject: Focus the no_focus_window if no suitable window is in the mru list (should 2004-09-15 Elijah Newren Focus the no_focus_window if no suitable window is in the mru list (should fix the almost contrived extra issue found in #147475) * doc/how-to-get-focus-right.txt: We no longer need to lie about only focusing panels upon explicit request. * src/workspace.c: (meta_workspace_focus_top_window): removed this function--it was more code than needed and was unreliable anyway, (meta_workspace_focus_mru_window): if a suitable window isn't in the mru list, focus the no_focus_window instead of calling focus_top_window. --- doc/how-to-get-focus-right.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/how-to-get-focus-right.txt b/doc/how-to-get-focus-right.txt index dbf1d9ef..2f5da047 100644 --- a/doc/how-to-get-focus-right.txt +++ b/doc/how-to-get-focus-right.txt @@ -78,10 +78,7 @@ without using the mouse, for example, by grabs). Finally, windows of type WM_DOCK or WM_DESKTOP (e.g. the desktop and the panel) present a special case. For all focus modes, we only focus these windows if the user clicks on them or uses Ctrl-Alt-Tab to -navigate to them. (Well, erm, actually they can be focused in click -and sloppy focus modes if no other window besides these are found, but -there shouldn't be any difference in behavior between doing this and -focusing the designated "no_focus_window") +navigate to them. -- cgit v1.2.1