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)
This commit is contained in:
Elijah Newren 2004-09-17 19:49:32 +00:00 committed by Elijah Newren
parent 43cc3b8606
commit 7ee43e5a36
2 changed files with 6 additions and 0 deletions

View File

@ -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> 2004-09-17 Kjartan Maraas <kmaraas@gnome.org>
* src/bell.c: (meta_bell_flash_screen): * src/bell.c: (meta_bell_flash_screen):

View File

@ -841,6 +841,7 @@ meta_workspace_focus_mru_window (MetaWorkspace *workspace,
MetaWindow* tmp_window; MetaWindow* tmp_window;
tmp_window = ((MetaWindow*) tmp->data); tmp_window = ((MetaWindow*) tmp->data);
if (tmp_window != not_this_one && if (tmp_window != not_this_one &&
!tmp_window->minimized &&
tmp_window->type != META_WINDOW_DOCK && tmp_window->type != META_WINDOW_DOCK &&
tmp_window->type != META_WINDOW_DESKTOP) tmp_window->type != META_WINDOW_DESKTOP)
{ {