diff options
author | Havoc Pennington <hp@pobox.com> | 2003-01-05 18:39:55 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2003-01-05 18:39:55 +0000 |
commit | b799630ba587ff352acf0041ffbc30cf50102ab5 (patch) | |
tree | 15a2b2a04957933cfbf3bdfdb301ddc0c9addf6c | |
parent | 90748385c219e123b1a3e058a70f877db07b3e01 (diff) | |
download | metacity-b799630ba587ff352acf0041ffbc30cf50102ab5.tar.gz |
focus new windows even in mouse focus mode, #89981, patch from
2003-01-05 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_show): focus new windows even in
mouse focus mode, #89981, patch from readams@hmc.edu
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/window.c | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -1,5 +1,10 @@ 2003-01-05 Havoc Pennington <hp@pobox.com> + * src/window.c (meta_window_show): focus new windows even in + mouse focus mode, #89981, patch from readams@hmc.edu + +2003-01-05 Havoc Pennington <hp@pobox.com> + * src/workspace.c (meta_workspace_get_neighbor): redo using new calc_workspace_layout to fix #98302 diff --git a/src/window.c b/src/window.c index dee56948..78e78259 100644 --- a/src/window.c +++ b/src/window.c @@ -1638,11 +1638,7 @@ meta_window_show (MetaWindow *window) } } - /* In sloppy focus, new windows aren't focused unless - * they are under the pointer. - */ - if (meta_prefs_get_focus_mode () == META_FOCUS_MODE_CLICK && - window_takes_focus_on_map (window)) + if (window_takes_focus_on_map (window)) { meta_window_focus (window, meta_display_get_current_time (window->display)); |