summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@math.utah.edu>2004-09-17 19:49:32 +0000
committerElijah Newren <newren@src.gnome.org>2004-09-17 19:49:32 +0000
commit7ee43e5a36b1bfc5ba1771031c7b6d4e9eb1cd74 (patch)
treeed7f497dd96610175e339e996336f24a52d62d9b
parent43cc3b8606d00f0f0eee5d6444d7943fced59ffb (diff)
downloadmetacity-7ee43e5a36b1bfc5ba1771031c7b6d4e9eb1cd74.tar.gz
Don't focus a window that is minimized (fixes #147947)
2004-09-17 Elijah Newren <newren@math.utah.edu> * src/workspace.c (meta_workspace_focus_mru_window): Don't focus a window that is minimized (fixes #147947)
-rw-r--r--ChangeLog5
-rw-r--r--src/workspace.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a1d0f87..f384085f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-17 Elijah Newren <newren@math.utah.edu>
+
+ * src/workspace.c (meta_workspace_focus_mru_window): Don't focus a
+ window that is minimized (fixes #147947)
+
2004-09-17 Kjartan Maraas <kmaraas@gnome.org>
* src/bell.c: (meta_bell_flash_screen):
diff --git a/src/workspace.c b/src/workspace.c
index 728c333f..cd43661d 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -841,6 +841,7 @@ meta_workspace_focus_mru_window (MetaWorkspace *workspace,
MetaWindow* tmp_window;
tmp_window = ((MetaWindow*) tmp->data);
if (tmp_window != not_this_one &&
+ !tmp_window->minimized &&
tmp_window->type != META_WINDOW_DOCK &&
tmp_window->type != META_WINDOW_DESKTOP)
{