summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--src/window.c6
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 3de68ab6..9425a8b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
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
when maximizing and fullscreening to avoid potential "off-by-one"
problems.
diff --git a/src/window.c b/src/window.c
index c18e59ea..9bbb7747 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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
{