diff options
author | Elijah Newren <newren@math.utah.edu> | 2004-09-17 19:49:32 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-09-17 19:49:32 +0000 |
commit | 7ee43e5a36b1bfc5ba1771031c7b6d4e9eb1cd74 (patch) | |
tree | ed7f497dd96610175e339e996336f24a52d62d9b | |
parent | 43cc3b8606d00f0f0eee5d6444d7943fced59ffb (diff) | |
download | metacity-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/workspace.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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) { |