From b799630ba587ff352acf0041ffbc30cf50102ab5 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 5 Jan 2003 18:39:55 +0000 Subject: [PATCH] focus new windows even in mouse focus mode, #89981, patch from 2003-01-05 Havoc Pennington * src/window.c (meta_window_show): focus new windows even in mouse focus mode, #89981, patch from readams@hmc.edu --- ChangeLog | 5 +++++ src/window.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 21df0d1c5..7542d9515 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-05 Havoc Pennington + + * 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 * src/workspace.c (meta_workspace_get_neighbor): redo using new diff --git a/src/window.c b/src/window.c index dee569485..78e782596 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));