1
0
Fork 0

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
This commit is contained in:
Havoc Pennington 2003-01-05 18:39:55 +00:00 committed by Havoc Pennington
parent 90748385c2
commit b799630ba5
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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));