summaryrefslogtreecommitdiff
path: root/src/workspace.c
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 /src/workspace.c
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)
Diffstat (limited to 'src/workspace.c')
-rw-r--r--src/workspace.c1
1 files changed, 1 insertions, 0 deletions
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)
{