1
0
Fork 0

Complete the transition to using the MRU window as the default focus

2003-08-20  Rob Adams  <robadams@ucla.edu>

	Complete the transition to using the MRU window as the default
	focus window instead of the topmost window; fixes a number of
	problems with sloppy focus and utility windows.  See #112031.

	* src/window.c (meta_window_free): call
	meta_workspace_focus_mru_window
	(meta_window_minimize): call meta_workspace_focus_mru_window
This commit is contained in:
Rob Adams 2003-08-21 04:32:21 +00:00 committed by Rob Adams
parent a644753073
commit dbcf03535d
2 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2003-08-20 Rob Adams <robadams@ucla.edu>
Complete the transition to using the MRU window as the default
focus window instead of the topmost window; fixes a number of
problems with sloppy focus and utility windows. See #112031.
* src/window.c (meta_window_free): call
meta_workspace_focus_mru_window
(meta_window_minimize): call meta_workspace_focus_mru_window
2003-08-20 Rob Adams <robadams@ucla.edu>
* src/constraints.c (meta_window_constrain): do northwest resize

View file

@ -879,7 +879,7 @@ meta_window_free (MetaWindow *window)
meta_topic (META_DEBUG_FOCUS,
"Focusing top window since we're unmanaging %s\n",
window->desc);
meta_workspace_focus_top_window (window->screen->active_workspace, window);
meta_workspace_focus_mru_window (window->screen->active_workspace, window);
}
else if (window->display->expected_focus_window == window)
{
@ -887,7 +887,7 @@ meta_window_free (MetaWindow *window)
"Focusing top window since expected focus window freed %s\n",
window->desc);
window->display->expected_focus_window = NULL;
meta_workspace_focus_top_window (window->screen->active_workspace, window);
meta_workspace_focus_mru_window (window->screen->active_workspace, window);
}
else
{
@ -1756,7 +1756,7 @@ meta_window_minimize (MetaWindow *window)
meta_topic (META_DEBUG_FOCUS,
"Focusing top window due to minimization of focus window %s\n",
window->desc);
meta_workspace_focus_top_window (window->screen->active_workspace, window);
meta_workspace_focus_mru_window (window->screen->active_workspace, window);
}
else
{